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
nameFields inherited from interface org.elasticsearch.telemetry.metric.LongAsyncCounter
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionRecordingAsyncLongCounter(String name, Supplier<Collection<LongWithAttributes>> observer, MetricRecorder<Instrument> recorder) -
Method Summary
Methods inherited from class org.elasticsearch.telemetry.RecordingInstruments.CallbackRecordingInstrument
close, runMethods 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 java.lang.AutoCloseable
closeMethods inherited from interface org.elasticsearch.telemetry.metric.Instrument
getName
-
Constructor Details
-
RecordingAsyncLongCounter
public RecordingAsyncLongCounter(String name, Supplier<Collection<LongWithAttributes>> observer, MetricRecorder<Instrument> recorder)
-