org.apache.hadoop.hdfs.server.protocol
Class StorageReport
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.StorageReport
public class StorageReport
- extends Object
Utilization report for a Datanode storage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_ARRAY
public static final StorageReport[] EMPTY_ARRAY
StorageReport
public StorageReport(DatanodeStorage storage,
boolean failed,
long capacity,
long dfsUsed,
long remaining,
long bpUsed)
getStorage
public DatanodeStorage getStorage()
isFailed
public boolean isFailed()
getCapacity
public long getCapacity()
getDfsUsed
public long getDfsUsed()
getRemaining
public long getRemaining()
getBlockPoolUsed
public long getBlockPoolUsed()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.