Interface ObservableLongUpDownCounter

    • Method Detail

      • close

        default void close()
        Remove the callback registered via LongUpDownCounterBuilder.buildWithCallback(Consumer). After this is called, the callback won't be invoked on future collections. Subsequent calls to close() have no effect.

        Note: other callbacks registered to the metric with the same identity are unaffected.

        Specified by:
        close in interface java.lang.AutoCloseable
        Since:
        1.12.0