Package org.apache.hadoop.fs.statistics.impl
@LimitedPrivate("Filesystems")
@Unstable
package org.apache.hadoop.fs.statistics.impl
Implementation support for statistics.
For use internally; external filesystems MAY use this if the implementors
accept that it is unstable and that incompatible changes may take
place over minor point releases.
-
ClassDescriptionBase implementation in case common methods/fields need to be added in future.Builder of
DynamicIOStatistics.This may seem odd having an IOStatisticsStore which does nothing but forward to a wrapped store, but it's designed to assist in subclassing of selective methods, such as those to increment counters, get durations etc.Support for implementing IOStatistics interfaces.Implementing the IOStatisticsContext.A Utility class for IOStatisticsContext, which helps in creating and getting the current active context.Interface of an IOStatistics store intended for use in classes which track statistics for reporting.Builder of theIOStatisticsStoreimplementation.Wrap a statistics instance with anIOStatisticsSourceinstance which will then serve up the statistics when asked.Track the duration of an object.Returns all the counters of an IOStatistics instance as StorageStatistics.A simple stub duration tracker which can be issued in interfaces and other places where full duration tracking is not implemented.This is a stub factory which always returns no-op duration trackers.Wrap IOStatistics source with another (dynamic) wrapper.