public class UploadMetricsTasks extends Object implements Callable<CompletableFuture<?>>
CloudWatchMetricPublisher's executor to collect requests from a
MetricCollectionAggregator and write them to a MetricUploader.| Constructor and Description |
|---|
UploadMetricsTasks(MetricCollectionAggregator collectionAggregator,
MetricUploader uploader,
int maximumRequestsPerFlush) |
public UploadMetricsTasks(MetricCollectionAggregator collectionAggregator, MetricUploader uploader, int maximumRequestsPerFlush)
public CompletableFuture<?> call()
call in interface Callable<CompletableFuture<?>>Copyright © 2023. All rights reserved.