Package org.elasticsearch.telemetry
Class RecordingInstruments.RecordingLongUpDownCounter
java.lang.Object
org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
org.elasticsearch.telemetry.RecordingInstruments.RecordingLongUpDownCounter
- All Implemented Interfaces:
Instrument,LongUpDownCounter
- Enclosing class:
RecordingInstruments
public static class RecordingInstruments.RecordingLongUpDownCounter
extends RecordingInstruments.RecordingInstrument
implements LongUpDownCounter
-
Field Summary
Fields inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
nameFields inherited from interface org.elasticsearch.telemetry.metric.LongUpDownCounter
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionRecordingLongUpDownCounter(String name, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
call, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingLongUpDownCounter
-
-
Method Details
-
add
public void add(long inc) - Specified by:
addin interfaceLongUpDownCounter
-
add
- Specified by:
addin interfaceLongUpDownCounter
-