Package org.apache.hadoop.fs.statistics
Interface IOStatisticsAggregator
- All Known Implementing Classes:
IOStatisticsSnapshot
@Public
@Evolving
public interface IOStatisticsAggregator
Interface exported by classes which support
aggregation of
IOStatistics.
Implementations MAY aggregate all statistics
exported by the IOStatistics reference passed in to
aggregate(IOStatistics), or they
may selectively aggregate specific values/classes
of statistics.-
Method Summary
Modifier and TypeMethodDescriptionbooleanaggregate(IOStatistics statistics) Aggregate the supplied statistics into the current set.
-
Method Details
-
aggregate
Aggregate the supplied statistics into the current set.- Parameters:
statistics- statistics; may be null- Returns:
- true if the statistics reference was not null and so aggregated.
-