| Package | Description |
|---|---|
| org.apache.hadoop.crypto | |
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.statistics |
This package contains support for statistic collection and reporting.
|
| org.apache.hadoop.fs.statistics.impl |
Implementation support for statistics.
|
| org.apache.hadoop.io.compress | |
| org.apache.hadoop.util |
Common utilities.
|
| org.apache.hadoop.util.functional |
Support for functional programming within the Hadoop APIs.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
CryptoInputStream.getIOStatistics() |
|
IOStatistics |
CryptoOutputStream.getIOStatistics() |
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
BufferedFSInputStream.getIOStatistics() |
|
IOStatistics |
FSDataInputStream.getIOStatistics() |
Get the IO Statistics of the nested stream, falling back to
null if the stream does not implement the interface
IOStatisticsSource. |
IOStatistics |
FSDataOutputStream.getIOStatistics() |
Get the IO Statistics of the nested stream, falling back to
empty statistics if the stream does not implement the interface
IOStatisticsSource. |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
IOStatisticsSetters |
Setter for IOStatistics entries.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
IOStatisticsSnapshot |
Snapshot of statistics from a different source.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
BufferedIOStatisticsInputStream.getIOStatistics() |
Return any IOStatistics offered by the inner stream.
|
IOStatistics |
BufferedIOStatisticsOutputStream.getIOStatistics() |
Ask the inner stream for their IOStatistics.
|
default IOStatistics |
IOStatisticsSource.getIOStatistics() |
Return a statistics instance.
|
static IOStatistics |
IOStatisticsSupport.retrieveIOStatistics(java.lang.Object source) |
Get the IOStatistics of the source, casting it
if it is of the relevant type, otherwise,
if it implements
IOStatisticsSource
extracting the value. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
IOStatisticsAggregator.aggregate(IOStatistics statistics) |
Aggregate the supplied statistics into the current
set.
|
boolean |
IOStatisticsSnapshot.aggregate(IOStatistics source) |
Aggregate the current statistics with the
source reference passed in.
|
static java.lang.Object |
IOStatisticsLogging.demandStringifyIOStatistics(IOStatistics statistics) |
On demand stringifier of an IOStatistics instance.
|
static DurationStatisticSummary |
DurationStatisticSummary.fetchDurationSummary(IOStatistics source,
java.lang.String key,
boolean success) |
Fetch the duration timing summary of success or failure operations
from an IO Statistics source.
|
static DurationStatisticSummary |
DurationStatisticSummary.fetchSuccessSummary(IOStatistics source,
java.lang.String key) |
Fetch the duration timing summary from an IOStatistics source.
|
static java.lang.String |
IOStatisticsLogging.ioStatisticsToPrettyString(IOStatistics statistics) |
Convert IOStatistics to a string form, with all the metrics sorted
and empty value stripped.
|
static java.lang.String |
IOStatisticsLogging.ioStatisticsToString(IOStatistics statistics) |
Convert IOStatistics to a string form.
|
void |
IOStatisticsSnapshot.snapshot(IOStatistics source) |
Take a snapshot.
|
static IOStatisticsSnapshot |
IOStatisticsSupport.snapshotIOStatistics(IOStatistics statistics) |
Take a snapshot of the current statistics state.
|
| Constructor | Description |
|---|---|
IOStatisticsSnapshot(IOStatistics source) |
Construct, taking a snapshot of the source statistics data
if the source is non-null.
|
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
IOStatisticsStore |
Interface of an IOStatistics store intended for
use in classes which track statistics for reporting.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractIOStatisticsImpl |
Base implementation in case common methods/fields need to be added
in future.
|
class |
ForwardingIOStatisticsStore |
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.
|
class |
WrappedIOStatistics |
Wrap IOStatistics source with another (dynamic) wrapper.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
DynamicIOStatisticsBuilder.build() |
Build the IOStatistics instance.
|
static IOStatistics |
IOStatisticsBinding.emptyStatistics() |
Get the shared instance of the immutable empty statistics
object.
|
static IOStatistics |
IOStatisticsBinding.fromStorageStatistics(StorageStatistics storageStatistics) |
Create IOStatistics from a storage statistics instance.
|
IOStatistics |
IOStatisticsContextImpl.getIOStatistics() |
|
IOStatistics |
SourceWrappedStatistics.getIOStatistics() |
|
protected IOStatistics |
WrappedIOStatistics.getWrapped() |
Get at the wrapped inner statistics.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
ForwardingIOStatisticsStore.aggregate(IOStatistics statistics) |
|
static StorageStatistics |
IOStatisticsBinding.publishAsStorageStatistics(java.lang.String name,
java.lang.String scheme,
IOStatistics source) |
Publish the IOStatistics as a set of storage statistics.
|
protected void |
WrappedIOStatistics.setWrapped(IOStatistics wrapped) |
Set the wrapped statistics.
|
static IOStatisticsSource |
IOStatisticsBinding.wrap(IOStatistics statistics) |
Take an IOStatistics instance and wrap it in a source.
|
| Constructor | Description |
|---|---|
SourceWrappedStatistics(IOStatistics source) |
Constructor.
|
StorageStatisticsFromIOStatistics(java.lang.String name,
java.lang.String scheme,
IOStatistics ioStatistics) |
Instantiate.
|
WrappedIOStatistics(IOStatistics wrapped) |
Instantiate.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
CompressionInputStream.getIOStatistics() |
Return any IOStatistics provided by the underlying stream.
|
IOStatistics |
CompressionOutputStream.getIOStatistics() |
Return any IOStatistics provided by the underlying stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
LineReader.getIOStatistics() |
Return any IOStatistics provided by the source.
|
| Modifier and Type | Method | Description |
|---|---|---|
IOStatistics |
RemoteIterators.WrappingRemoteIterator.getIOStatistics() |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.