public static enum DataTransferProtos.OpWriteBlockProto.BlockConstructionStage extends Enum<DataTransferProtos.OpWriteBlockProto.BlockConstructionStage> implements com.google.protobuf.ProtocolMessageEnum
hadoop.hdfs.OpWriteBlockProto.BlockConstructionStage
Enum Constant and Description |
---|
DATA_STREAMING
DATA_STREAMING = 2; |
PIPELINE_CLOSE
PIPELINE_CLOSE = 4; |
PIPELINE_CLOSE_RECOVERY
PIPELINE_CLOSE_RECOVERY = 5; |
PIPELINE_SETUP_APPEND
PIPELINE_SETUP_APPEND = 0; |
PIPELINE_SETUP_APPEND_RECOVERY
PIPELINE_SETUP_APPEND_RECOVERY = 1; |
PIPELINE_SETUP_CREATE
PIPELINE_SETUP_CREATE = 6; |
PIPELINE_SETUP_STREAMING_RECOVERY
PIPELINE_SETUP_STREAMING_RECOVERY = 3; |
TRANSFER_FINALIZED
TRANSFER_FINALIZED = 8; |
TRANSFER_RBW
TRANSFER_RBW = 7; |
Modifier and Type | Field and Description |
---|---|
static int |
DATA_STREAMING_VALUE
DATA_STREAMING = 2; |
static int |
PIPELINE_CLOSE_RECOVERY_VALUE
PIPELINE_CLOSE_RECOVERY = 5; |
static int |
PIPELINE_CLOSE_VALUE
PIPELINE_CLOSE = 4; |
static int |
PIPELINE_SETUP_APPEND_RECOVERY_VALUE
PIPELINE_SETUP_APPEND_RECOVERY = 1; |
static int |
PIPELINE_SETUP_APPEND_VALUE
PIPELINE_SETUP_APPEND = 0; |
static int |
PIPELINE_SETUP_CREATE_VALUE
PIPELINE_SETUP_CREATE = 6; |
static int |
PIPELINE_SETUP_STREAMING_RECOVERY_VALUE
PIPELINE_SETUP_STREAMING_RECOVERY = 3; |
static int |
TRANSFER_FINALIZED_VALUE
TRANSFER_FINALIZED = 8; |
static int |
TRANSFER_RBW_VALUE
TRANSFER_RBW = 7; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DataTransferProtos.OpWriteBlockProto.BlockConstructionStage> |
internalGetValueMap() |
static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage |
valueOf(int value) |
static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_SETUP_APPEND
PIPELINE_SETUP_APPEND = 0;
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_SETUP_APPEND_RECOVERY
PIPELINE_SETUP_APPEND_RECOVERY = 1;
pipeline set up for failed PIPELINE_SETUP_APPEND recovery
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage DATA_STREAMING
DATA_STREAMING = 2;
data streaming
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_SETUP_STREAMING_RECOVERY
PIPELINE_SETUP_STREAMING_RECOVERY = 3;
pipeline setup for failed data streaming recovery
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_CLOSE
PIPELINE_CLOSE = 4;
close the block and pipeline
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_CLOSE_RECOVERY
PIPELINE_CLOSE_RECOVERY = 5;
Recover a failed PIPELINE_CLOSE
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage PIPELINE_SETUP_CREATE
PIPELINE_SETUP_CREATE = 6;
pipeline set up for block creation
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage TRANSFER_RBW
TRANSFER_RBW = 7;
transfer RBW for adding datanodes
public static final DataTransferProtos.OpWriteBlockProto.BlockConstructionStage TRANSFER_FINALIZED
TRANSFER_FINALIZED = 8;
transfer Finalized for adding datanodes
public static final int PIPELINE_SETUP_APPEND_VALUE
PIPELINE_SETUP_APPEND = 0;
public static final int PIPELINE_SETUP_APPEND_RECOVERY_VALUE
PIPELINE_SETUP_APPEND_RECOVERY = 1;
pipeline set up for failed PIPELINE_SETUP_APPEND recovery
public static final int DATA_STREAMING_VALUE
DATA_STREAMING = 2;
data streaming
public static final int PIPELINE_SETUP_STREAMING_RECOVERY_VALUE
PIPELINE_SETUP_STREAMING_RECOVERY = 3;
pipeline setup for failed data streaming recovery
public static final int PIPELINE_CLOSE_VALUE
PIPELINE_CLOSE = 4;
close the block and pipeline
public static final int PIPELINE_CLOSE_RECOVERY_VALUE
PIPELINE_CLOSE_RECOVERY = 5;
Recover a failed PIPELINE_CLOSE
public static final int PIPELINE_SETUP_CREATE_VALUE
PIPELINE_SETUP_CREATE = 6;
pipeline set up for block creation
public static final int TRANSFER_RBW_VALUE
TRANSFER_RBW = 7;
transfer RBW for adding datanodes
public static final int TRANSFER_FINALIZED_VALUE
TRANSFER_FINALIZED = 8;
transfer Finalized for adding datanodes
public static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage[] values()
for (DataTransferProtos.OpWriteBlockProto.BlockConstructionStage c : DataTransferProtos.OpWriteBlockProto.BlockConstructionStage.values()) System.out.println(c);
public static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DataTransferProtos.OpWriteBlockProto.BlockConstructionStage> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DataTransferProtos.OpWriteBlockProto.BlockConstructionStage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All rights reserved.