Class UploadMetricsTasks
java.lang.Object
software.amazon.awssdk.metrics.publishers.cloudwatch.internal.task.UploadMetricsTasks
- All Implemented Interfaces:
Callable<CompletableFuture<?>>
A task that is executed on the
CloudWatchMetricPublisher
's executor to collect requests from a
MetricCollectionAggregator
and write them to a MetricUploader
.-
Constructor Summary
ConstructorDescriptionUploadMetricsTasks
(MetricCollectionAggregator collectionAggregator, MetricUploader uploader, int maximumRequestsPerFlush) -
Method Summary
-
Constructor Details
-
UploadMetricsTasks
public UploadMetricsTasks(MetricCollectionAggregator collectionAggregator, MetricUploader uploader, int maximumRequestsPerFlush)
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<CompletableFuture<?>>
-