Package org.apache.hadoop.fs.statistics
Interface IOStatisticsSource
- All Known Subinterfaces:
BulkDelete,IOStatisticsContext,MultipartUploader,PrefetchingStatistics
- All Known Implementing Classes:
AbstractMultipartUploader,BlockCompressorStream,BlockDecompressorStream,BufferedFSInputStream,BufferedIOStatisticsInputStream,BufferedIOStatisticsOutputStream,CompressionInputStream,CompressionOutputStream,CompressorStream,CryptoFSDataInputStream,CryptoFSDataOutputStream,CryptoInputStream,CryptoOutputStream,DecompressorStream,DefaultBulkDeleteOperation,EmptyPrefetchingStatistics,FileSystemMultipartUploader,FSDataInputStream,FSDataOutputStream,IOStatisticsContextImpl,LineReader,PassthroughCodec.PassthroughDecompressorStream,RemoteIterators.WrappingRemoteIterator,SourceWrappedStatistics,SplitCompressionInputStream
@Unstable
public interface IOStatisticsSource
A source of IO statistics.
These statistics MUST be instance specific, not thread local.
-
Method Summary
-
Method Details
-
getIOStatistics
Return a statistics instance.It is not a requirement that the same instance is returned every time.
IOStatisticsSource.If the object implementing this is Closeable, this method may return null if invoked on a closed object, even if it returns a valid instance when called earlier.
- Returns:
- an IOStatistics instance or null
-