Top Description Methods
io.opentelemetry.api.metrics

public Interface BatchCallback

extends AutoCloseable

A reference to a batch callback registered via Meter#batchCallback(Runnable, ObservableMeasurement, ObservableMeasurement...).
Since
1.15.0

Method Summary

Modifier and TypeMethod and Description
public default void

Method Detail

closeback to summary
public default void close()

Implements java.lang.AutoCloseable.close.

Remove the callback registered via Meter#batchCallback(Runnable, ObservableMeasurement, ObservableMeasurement...). After this is called, the callback won't be invoked on future collections. Subsequent calls to close() have no effect.

Annotations
@Override