public interface DatanodeStatistics
| Modifier and Type | Method and Description | 
|---|---|
| long | getBlockPoolUsed() | 
| long | getCacheCapacity() | 
| long | getCacheUsed() | 
| long | getCapacityRemaining() | 
| float | getCapacityRemainingPercent() | 
| long | getCapacityTotal() | 
| long | getCapacityUsed() | 
| long | getCapacityUsedNonDFS() | 
| float | getCapacityUsedPercent() | 
| int | getExpiredHeartbeats() | 
| int | getInServiceXceiverCount() | 
| int | getNumDatanodesInService() | 
| float | getPercentBlockPoolUsed() | 
| long | getProvidedCapacity() | 
| long[] | getStats()The same as  ClientProtocol.getStats(). | 
| Map<org.apache.hadoop.fs.StorageType,org.apache.hadoop.hdfs.server.blockmanagement.StorageTypeStats> | getStorageTypeStats() | 
| int | getXceiverCount() | 
long getCapacityTotal()
long getCapacityUsed()
float getCapacityUsedPercent()
long getCapacityRemaining()
float getCapacityRemainingPercent()
long getBlockPoolUsed()
float getPercentBlockPoolUsed()
long getCacheCapacity()
long getCacheUsed()
int getXceiverCount()
int getInServiceXceiverCount()
int getNumDatanodesInService()
long getCapacityUsedNonDFS()
long[] getStats()
ClientProtocol.getStats().
 The block related entries are set to -1.int getExpiredHeartbeats()
Map<org.apache.hadoop.fs.StorageType,org.apache.hadoop.hdfs.server.blockmanagement.StorageTypeStats> getStorageTypeStats()
long getProvidedCapacity()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.