程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.protocol |
限定符和类型 | 字段和说明 |
---|---|
protected DatanodeInfo.AdminStates |
DatanodeInfo.adminState |
限定符和类型 | 方法和说明 |
---|---|
DatanodeInfo.AdminStates |
DatanodeInfo.getAdminState()
Retrieves the admin state of this node.
|
static DatanodeInfo.AdminStates |
DatanodeInfo.AdminStates.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DatanodeInfo.AdminStates[] |
DatanodeInfo.AdminStates.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
DatanodeInfo.setAdminState(DatanodeInfo.AdminStates newState)
Sets the admin state of this node.
|
构造器和说明 |
---|
DatanodeInfo(String name,
String storageID,
int infoPort,
int ipcPort,
long capacity,
long dfsUsed,
long remaining,
long lastUpdate,
int xceiverCount,
String networkLocation,
String hostName,
DatanodeInfo.AdminStates adminState)
Constructor
|
Copyright © 2009 The Apache Software Foundation