Package io.opentelemetry.api.metrics
Interface BoundLongValueRecorder
-
@ThreadSafe public interface BoundLongValueRecorder
ABound Instrument
for aLongValueRecorder
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
record(long value)
Records the given measurement, associated with the currentContext
.void
unbind()
-
-
-
Method Detail
-
record
void record(long value)
Records the given measurement, associated with the currentContext
.- Parameters:
value
- the measurement to record.- Throws:
IllegalArgumentException
- if value is negative.
-
unbind
void unbind()
-
-