org.apache.hadoop.dfs
Class DataNodeReport

java.lang.Object
  extended by org.apache.hadoop.dfs.DataNodeReport

public class DataNodeReport
extends Object

A report on the status of a DataNode.

See Also:
DistributedFileSystem.getDataNodeStats()

Constructor Summary
DataNodeReport()
           
 
Method Summary
 long getCapacity()
          The raw capacity.
 String getHost()
          The hostname of the datanode.
 long getLastUpdate()
          The time when this information was accurate.
 String getName()
          The name of the datanode.
 long getRemaining()
          The raw free space.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataNodeReport

public DataNodeReport()
Method Detail

getName

public String getName()
The name of the datanode.


getHost

public String getHost()
The hostname of the datanode.


getCapacity

public long getCapacity()
The raw capacity.


getRemaining

public long getRemaining()
The raw free space.


getLastUpdate

public long getLastUpdate()
The time when this information was accurate.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006 The Apache Software Foundation