Package org.elasticsearch.telemetry
Class RecordingInstruments.RecordingAsyncLongCounter
java.lang.Object
org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
org.elasticsearch.telemetry.RecordingInstruments.RecordingAsyncLongCounter
- All Implemented Interfaces:
AutoCloseable
,Runnable
,Instrument
,LongAsyncCounter
- Enclosing class:
- RecordingInstruments
public static class RecordingInstruments.RecordingAsyncLongCounter
extends RecordingInstruments.CallbackRecordingInstrument
implements LongAsyncCounter
-
Field Summary
Fields inherited from class org.elasticsearch.telemetry.RecordingInstruments.RecordingInstrument
name
Fields inherited from interface org.elasticsearch.telemetry.metric.LongAsyncCounter
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionRecordingAsyncLongCounter
(String name, Supplier<LongWithAttributes> observer, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
close, run
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 java.lang.AutoCloseable
close
Methods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingAsyncLongCounter
public RecordingAsyncLongCounter(String name, Supplier<LongWithAttributes> observer, MetricRecorder<Instrument> recorder)
-