IOStatisticsAggregator (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.fs.statistics, interface: IOStatisticsAggregator

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 Type
  Method
  Description
  `boolean`
  `aggregate(IOStatistics statistics)`
  Aggregate the supplied statistics into the current set.

- ## Method Details

  - ### aggregate

    boolean aggregate(@Nullable IOStatistics statistics)
    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.