Package | Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
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 . |
IOStatistics |
FSDataInputStream.getIOStatistics()
Get the IO Statistics of the nested stream, falling back to
null if the stream does not implement the interface
IOStatisticsSource . |
Modifier and Type | Class and Description |
---|---|
class |
IOStatisticsSnapshot
Snapshot of statistics from a different source.
|
Modifier and Type | Method and Description |
---|---|
default IOStatistics |
IOStatisticsSource.getIOStatistics()
Return a statistics instance.
|
IOStatistics |
BufferedIOStatisticsInputStream.getIOStatistics()
Return any IOStatistics offered by the inner stream.
|
IOStatistics |
BufferedIOStatisticsOutputStream.getIOStatistics()
Ask the inner stream for their IOStatistics.
|
static IOStatistics |
IOStatisticsSupport.retrieveIOStatistics(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 and Description |
---|---|
boolean |
IOStatisticsSnapshot.aggregate(IOStatistics source)
Aggregate the current statistics with the
source reference passed in.
|
boolean |
IOStatisticsAggregator.aggregate(IOStatistics statistics)
Aggregate the supplied statistics into the current
set.
|
static Object |
IOStatisticsLogging.demandStringifyIOStatistics(IOStatistics statistics)
On demand stringifier of an IOStatistics instance.
|
static DurationStatisticSummary |
DurationStatisticSummary.fetchDurationSummary(IOStatistics source,
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,
String key)
Fetch the duration timing summary from an IOStatistics source.
|
static String |
IOStatisticsLogging.ioStatisticsToPrettyString(IOStatistics statistics)
Convert IOStatistics to a string form, with all the metrics sorted
and empty value stripped.
|
static 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 and Description |
---|
IOStatisticsSnapshot(IOStatistics source)
Construct, taking a snapshot of the source statistics data
if the source is non-null.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IOStatisticsStore
Interface of an IOStatistics store intended for
use in classes which track statistics for reporting.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractIOStatisticsImpl
Base implementation in case common methods/fields need to be added
in future.
|
class |
WrappedIOStatistics
Wrap IOStatistics source with another (dynamic) wrapper.
|
Modifier and Type | Method and 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 |
SourceWrappedStatistics.getIOStatistics() |
protected IOStatistics |
WrappedIOStatistics.getWrapped()
Get at the wrapped inner statistics.
|
Modifier and Type | Method and Description |
---|---|
static StorageStatistics |
IOStatisticsBinding.publishAsStorageStatistics(String name,
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 and Description |
---|
SourceWrappedStatistics(IOStatistics source)
Constructor.
|
StorageStatisticsFromIOStatistics(String name,
String scheme,
IOStatistics ioStatistics)
Instantiate.
|
WrappedIOStatistics(IOStatistics wrapped)
Instantiate.
|
Modifier and Type | Method and Description |
---|---|
IOStatistics |
CompressionInputStream.getIOStatistics()
Return any IOStatistics provided by the underlying stream.
|
IOStatistics |
CompressionOutputStream.getIOStatistics()
Return any IOStatistics provided by the underlying stream.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.