public class DatanodeAdminProperties
extends java.lang.Object
| Constructor | Description |
|---|---|
DatanodeAdminProperties() |
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeInfo.AdminStates |
getAdminState() |
Get the admin state of the datanode.
|
java.lang.String |
getHostName() |
Return the host name of the datanode.
|
long |
getMaintenanceExpireTimeInMS() |
Get the maintenance expiration time in milliseconds.
|
int |
getPort() |
Get the port number of the datanode.
|
java.lang.String |
getUpgradeDomain() |
Get the upgrade domain of the datanode.
|
void |
setAdminState(DatanodeInfo.AdminStates adminState) |
Set the admin state of the datanode.
|
void |
setHostName(java.lang.String hostName) |
Set the host name of the datanode.
|
void |
setMaintenanceExpireTimeInMS(long maintenanceExpireTimeInMS) |
Get the maintenance expiration time in milliseconds.
|
void |
setPort(int port) |
Set the port number of the datanode.
|
void |
setUpgradeDomain(java.lang.String upgradeDomain) |
Set the upgrade domain of the datanode.
|
public java.lang.String getHostName()
public void setHostName(java.lang.String hostName)
hostName - the host name of the datanode.public int getPort()
public void setPort(int port)
port - the port number of the datanode.public java.lang.String getUpgradeDomain()
public void setUpgradeDomain(java.lang.String upgradeDomain)
upgradeDomain - the upgrade domain of the datanode.public DatanodeInfo.AdminStates getAdminState()
public void setAdminState(DatanodeInfo.AdminStates adminState)
adminState - the admin state of the datanode.public long getMaintenanceExpireTimeInMS()
public void setMaintenanceExpireTimeInMS(long maintenanceExpireTimeInMS)
maintenanceExpireTimeInMS - the maintenance expiration time in milliseconds.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.