Class NoopHistogram
java.lang.Object
io.micrometer.core.instrument.distribution.NoopHistogram
- All Implemented Interfaces:
Histogram
,java.lang.AutoCloseable
public class NoopHistogram extends java.lang.Object implements Histogram
-
Field Summary
Fields Modifier and Type Field Description static NoopHistogram
INSTANCE
-
Method Summary
Modifier and Type Method Description void
recordDouble(double value)
void
recordLong(long value)
HistogramSnapshot
takeSnapshot(long count, double total, double max)
-
Field Details
-
Method Details
-
recordLong
public void recordLong(long value)- Specified by:
recordLong
in interfaceHistogram
-
recordDouble
public void recordDouble(double value)- Specified by:
recordDouble
in interfaceHistogram
-
takeSnapshot
- Specified by:
takeSnapshot
in interfaceHistogram
-