@ThreadSafe public static interface DoubleValueRecorder.BoundDoubleValueRecorder extends SynchronousInstrument.BoundInstrument
Bound Instrument for a DoubleValueRecorder.| Modifier and Type | Method and Description |
|---|---|
void |
record(double value)
Records the given measurement, associated with the current
Context. |
void |
unbind()
Unbinds the current
Bound from the Instrument. |
void record(double value)
Context.value - the measurement to record.IllegalArgumentException - if value is negative.void unbind()
SynchronousInstrument.BoundInstrumentBound from the Instrument.
After this method returns the current instance Bound is considered invalid (not
being managed by the instrument).
unbind in interface SynchronousInstrument.BoundInstrument