Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.statistics.impl |
Implementation support for statistics.
|
Modifier and Type | Method and Description |
---|---|
StorageStatistics |
GlobalStorageStatistics.get(String name)
Get the StorageStatistics object with the given name.
|
StorageStatistics |
FileSystem.getStorageStatistics()
Get the StorageStatistics for this FileSystem object.
|
StorageStatistics |
GlobalStorageStatistics.StorageStatisticsProvider.provide() |
StorageStatistics |
GlobalStorageStatistics.put(String name,
GlobalStorageStatistics.StorageStatisticsProvider provider)
Create or return the StorageStatistics object with the given name.
|
Modifier and Type | Method and Description |
---|---|
Iterator<StorageStatistics> |
GlobalStorageStatistics.iterator()
Get an iterator that we can use to iterate throw all the global storage
statistics objects.
|
Modifier and Type | Class and Description |
---|---|
class |
StorageStatisticsFromIOStatistics
Returns all the counters of an IOStatistics instance as StorageStatistics.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static IOStatistics |
IOStatisticsBinding.fromStorageStatistics(StorageStatistics storageStatistics)
Create IOStatistics from a storage statistics instance.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.