Class MetricUploader

    • Method Detail

      • upload

        public CompletableFuture<Void> upload​(List<PutMetricDataRequest> requests)
        Upload the provided list of requests to CloudWatch, completing the returned future when the uploads complete. Note: This will log a message if one of the provided requests fails.
      • close

        public void close​(boolean closeClient)