Class S3AMultipartUploaderStatisticsImpl

java.lang.Object
org.apache.hadoop.fs.s3a.statistics.impl.AbstractS3AStatisticsSource
org.apache.hadoop.fs.s3a.statistics.impl.S3AMultipartUploaderStatisticsImpl
All Implemented Interfaces:
Closeable, AutoCloseable, S3AMultipartUploaderStatistics, S3AStatisticInterface, org.apache.hadoop.fs.statistics.DurationTrackerFactory, org.apache.hadoop.fs.statistics.IOStatisticsSource

public final class S3AMultipartUploaderStatisticsImpl extends AbstractS3AStatisticsSource implements S3AMultipartUploaderStatistics
Implementation of the uploader statistics.

This takes a function to update some counter and will update this value when things change, so it can be bonded to arbitrary statistic collectors.

Internally it builds a map of the relevant multipart statistics, increments as appropriate and serves this data back through the IOStatisticsSource API.