org.apache.hadoop.hdfs.server.protocol
Class StorageReport

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.protocol.StorageReport

public class StorageReport
extends Object

Utilization report for a Datanode storage


Constructor Summary
StorageReport(String sid, boolean failed, long capacity, long dfsUsed, long remaining, long bpUsed)
           
 
Method Summary
 long getBlockPoolUsed()
           
 long getCapacity()
           
 long getDfsUsed()
           
 long getRemaining()
           
 String getStorageID()
           
 boolean isFailed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageReport

public StorageReport(String sid,
                     boolean failed,
                     long capacity,
                     long dfsUsed,
                     long remaining,
                     long bpUsed)
Method Detail

getStorageID

public String getStorageID()

isFailed

public boolean isFailed()

getCapacity

public long getCapacity()

getDfsUsed

public long getDfsUsed()

getRemaining

public long getRemaining()

getBlockPoolUsed

public long getBlockPoolUsed()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.