com.aliyun.oss.shade.io.opentelemetry.api.metrics.BatchCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-sdk-oss-shade Show documentation
Show all versions of aliyun-sdk-oss-shade Show documentation
The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service, includes all service and dependent JARs.
The newest version!
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.metrics;
/**
* A reference to a batch callback registered via {@link Meter#batchCallback(Runnable,
* ObservableMeasurement, ObservableMeasurement...)}.
*
* @since 1.15.0
*/
public interface BatchCallback extends AutoCloseable {
/**
* Remove the callback registered via {@link Meter#batchCallback(Runnable, ObservableMeasurement,
* ObservableMeasurement...)}. After this is called, the callback won't be invoked on future
* collections. Subsequent calls to {@link #close()} have no effect.
*/
@Override
default void close() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy