| Package | Description | 
|---|---|
| org.apache.hadoop.hdfs.protocol | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| org.apache.hadoop.hdfs.protocolPB | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DatanodeInfo.AdminStates | DatanodeInfo.AdminStates. fromValue(String value) | 
| DatanodeInfo.AdminStates | DatanodeAdminProperties. getAdminState()Get the admin state of the datanode. | 
| static DatanodeInfo.AdminStates | DatanodeInfo.AdminStates. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DatanodeInfo.AdminStates[] | DatanodeInfo.AdminStates. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| DatanodeInfo.DatanodeInfoBuilder | DatanodeInfo.DatanodeInfoBuilder. setAdminState(DatanodeInfo.AdminStates adminState) | 
| void | DatanodeAdminProperties. setAdminState(DatanodeInfo.AdminStates adminState)Set the admin state of the datanode. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DatanodeInfo.AdminStates | PBHelperClient. convert(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState adminState) | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.DatanodeInfoProto.AdminState | PBHelperClient. convert(DatanodeInfo.AdminStates inAs) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.