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
name
Fields inherited from interface org.elasticsearch.telemetry.metric.LongUpDownCounter
NOOP
-
Constructor Summary
ConstructorDescriptionRecordingLongUpDownCounter
(String name, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
call, getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingLongUpDownCounter
-
-
Method Details
-
add
public void add(long inc) - Specified by:
add
in interfaceLongUpDownCounter
-
add
- Specified by:
add
in interfaceLongUpDownCounter
-