Interface BondedS3AStatisticsContext.S3AFSStatisticsSource
- Enclosing class:
- BondedS3AStatisticsContext
public static interface BondedS3AStatisticsContext.S3AFSStatisticsSource
This is the interface which an integration source must implement
for the integration.
Note that the FileSystem.statistics field may be null for a class;
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.FileSystem.StatisticsGet the statistics of the FS instance, shared across all threads.Get the S3A Instrumentation.
-
Method Details
-
getInstrumentation
S3AInstrumentation getInstrumentation()Get the S3A Instrumentation.- Returns:
- a non-null instrumentation instance
-
getInstanceStatistics
@Nullable org.apache.hadoop.fs.FileSystem.Statistics getInstanceStatistics()Get the statistics of the FS instance, shared across all threads.- Returns:
- filesystem statistics
-