Example usage for Java org.apache.hadoop.hdfs.protocol DatanodeInfo fields, constructors, methods, implement or subclass
The text is from its open source code.
AdminStates | getAdminState() Retrieves the admin state of this node. |
long | getBlockPoolUsed() The used space by the block pool on data node. |
long | getCacheCapacity() |
long | getCacheUsed() |
long | getCapacity() The raw capacity. |
String | getDatanodeUuid() |
long | getDfsUsed() The used space by the data node. |
String | getHostName() |
int | getInfoPort() |
int | getInfoSecurePort() |
String | getIpAddr() |
int | getIpcPort() |
long | getLastUpdate() Get the last update timestamp. |
long | getLastUpdateMonotonic() The time when this information was accurate. |
String | getName() Network location name. |
String | getNetworkLocation() network location |
long | getNonDfsUsed() The used space by the data node. |
long | getRemaining() The raw free space. |
int | getXceiverCount() number of active connections |
String | getXferAddr() |
String | getXferAddr(boolean useHostname) |
int | getXferPort() |
boolean | isDecommissioned() Returns true if the node has been decommissioned. |
boolean | isDecommissionInProgress() Returns true if the node is in the process of being decommissioned |
void | setCapacity(long capacity) Sets raw capacity. |
void | setDecommissioned() Sets the admin state to indicate that decommission is complete. |
void | setNetworkLocation(String location) Sets the network location |
void | setRemaining(long remaining) Sets raw free space. |
void | setXceiverCount(int xceiverCount) Sets number of active connections |
String | toString() |