Java org.apache.hadoop.hdfs.protocol DatanodeInfo fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.hdfs.protocol DatanodeInfo fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.hdfs.protocol DatanodeInfo.

The text is from its open source code.

Constructor

Method

AdminStatesgetAdminState()
Retrieves the admin state of this node.
longgetBlockPoolUsed()
The used space by the block pool on data node.
longgetCacheCapacity()
longgetCacheUsed()
longgetCapacity()
The raw capacity.
StringgetDatanodeUuid()
longgetDfsUsed()
The used space by the data node.
StringgetHostName()
intgetInfoPort()
intgetInfoSecurePort()
StringgetIpAddr()
intgetIpcPort()
longgetLastUpdate()
Get the last update timestamp.
longgetLastUpdateMonotonic()
The time when this information was accurate.
StringgetName()
Network location name.
StringgetNetworkLocation()
network location
longgetNonDfsUsed()
The used space by the data node.
longgetRemaining()
The raw free space.
intgetXceiverCount()
number of active connections
StringgetXferAddr()
StringgetXferAddr(boolean useHostname)
intgetXferPort()
booleanisDecommissioned()
Returns true if the node has been decommissioned.
booleanisDecommissionInProgress()
Returns true if the node is in the process of being decommissioned
voidsetCapacity(long capacity)
Sets raw capacity.
voidsetDecommissioned()
Sets the admin state to indicate that decommission is complete.
voidsetNetworkLocation(String location)
Sets the network location
voidsetRemaining(long remaining)
Sets raw free space.
voidsetXceiverCount(int xceiverCount)
Sets number of active connections
StringtoString()