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 NoopHistogramINSTANCE -
Method Summary
Modifier and Type Method Description voidrecordDouble(double value)voidrecordLong(long value)HistogramSnapshottakeSnapshot(long count, double total, double max)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
-
-
Method Details
-
recordLong
public void recordLong(long value)- Specified by:
recordLongin interfaceHistogram
-
recordDouble
public void recordDouble(double value)- Specified by:
recordDoublein interfaceHistogram
-
takeSnapshot
- Specified by:
takeSnapshotin interfaceHistogram
-