Package | Description |
---|---|
org.apache.hadoop.fs.statistics |
This package contains support for statistic collection and reporting.
|
org.apache.hadoop.fs.statistics.impl |
Implementation support for statistics.
|
Modifier and Type | Method and Description |
---|---|
static DurationTracker |
IOStatisticsSupport.stubDurationTracker()
Get a stub duration tracker.
|
default DurationTracker |
DurationTrackerFactory.trackDuration(String key)
Initiate a duration tracking operation by creating/returning
an object whose
close() call will
update the statistics. |
default DurationTracker |
DurationTrackerFactory.trackDuration(String key,
long count)
Initiate a duration tracking operation by creating/returning
an object whose
close() call will
update the statistics. |
Modifier and Type | Class and Description |
---|---|
class |
StatisticDurationTracker
Track the duration of an object.
|
class |
StubDurationTracker
A simple stub duration tracker which can be issued in interfaces
and other places where full duration tracking is not implemented.
|
Modifier and Type | Field and Description |
---|---|
static DurationTracker |
StubDurationTracker.STUB_DURATION_TRACKER |
Modifier and Type | Method and Description |
---|---|
DurationTracker |
StubDurationTrackerFactory.trackDuration(String key,
long count) |
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.