@InterfaceAudience.Private @InterfaceStability.Evolving public enum BlockConstructionStage extends Enum<BlockConstructionStage>
Enum Constant and Description |
---|
DATA_STREAMING |
PIPELINE_CLOSE |
PIPELINE_CLOSE_RECOVERY |
PIPELINE_SETUP_APPEND
The enumerates are always listed as regular stage followed by the
recovery stage.
|
PIPELINE_SETUP_APPEND_RECOVERY |
PIPELINE_SETUP_CREATE |
PIPELINE_SETUP_STREAMING_RECOVERY |
TRANSFER_FINALIZED |
TRANSFER_RBW |
Modifier and Type | Method and Description |
---|---|
BlockConstructionStage |
getRecoveryStage()
get the recovery stage of this stage
|
static BlockConstructionStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockConstructionStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockConstructionStage PIPELINE_SETUP_APPEND
public static final BlockConstructionStage PIPELINE_SETUP_APPEND_RECOVERY
public static final BlockConstructionStage DATA_STREAMING
public static final BlockConstructionStage PIPELINE_SETUP_STREAMING_RECOVERY
public static final BlockConstructionStage PIPELINE_CLOSE
public static final BlockConstructionStage PIPELINE_CLOSE_RECOVERY
public static final BlockConstructionStage PIPELINE_SETUP_CREATE
public static final BlockConstructionStage TRANSFER_RBW
public static final BlockConstructionStage TRANSFER_FINALIZED
public static BlockConstructionStage[] values()
for (BlockConstructionStage c : BlockConstructionStage.values()) System.out.println(c);
public static 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 BlockConstructionStage getRecoveryStage()
Copyright © 2013 Apache Software Foundation. All rights reserved.