Package org.apache.hadoop.fs.statistics
Interface IOStatistics
- All Known Subinterfaces:
IOStatisticsSetters
- All Known Implementing Classes:
IOStatisticsSnapshot
@Public
@Unstable
public interface IOStatistics
IO Statistics.
These are low-cost per-instance statistics provided by any Hadoop I/O class instance.
Consult the filesystem specification document for the requirements of an implementation of this interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longValue when a max value has never been set.static final longValue when a minimum value has never been set. -
Method Summary
-
Field Details
-
MIN_UNSET_VALUE
static final long MIN_UNSET_VALUEValue when a minimum value has never been set.- See Also:
-
MAX_UNSET_VALUE
static final long MAX_UNSET_VALUEValue when a max value has never been set.- See Also:
-
-
Method Details
-
counters
Map of counters.- Returns:
- the current map of counters.
-
gauges
Map of gauges.- Returns:
- the current map of gauges.
-
minimums
Map of minimums.- Returns:
- the current map of minimums.
-
maximums
Map of maximums.- Returns:
- the current map of maximums.
-
meanStatistics
Map<String,MeanStatistic> meanStatistics()Map of meanStatistics.- Returns:
- the current map of MeanStatistic statistics.
-