Class UploadMetricsTasks
- java.lang.Object
-
- software.amazon.awssdk.metrics.publishers.cloudwatch.internal.task.UploadMetricsTasks
-
- All Implemented Interfaces:
Callable<CompletableFuture<?>>
public class UploadMetricsTasks extends Object implements Callable<CompletableFuture<?>>
A task that is executed on theCloudWatchMetricPublisher's executor to collect requests from aMetricCollectionAggregatorand write them to aMetricUploader.
-
-
Constructor Summary
Constructors Constructor Description UploadMetricsTasks(MetricCollectionAggregator collectionAggregator, MetricUploader uploader, int maximumRequestsPerFlush)
-
-
-
Constructor Detail
-
UploadMetricsTasks
public UploadMetricsTasks(MetricCollectionAggregator collectionAggregator, MetricUploader uploader, int maximumRequestsPerFlush)
-
-
Method Detail
-
call
public CompletableFuture<?> call()
- Specified by:
callin interfaceCallable<CompletableFuture<?>>
-
-