public enum CheckpointStatus extends Enum<CheckpointStatus>
Enum Constant and Description |
---|
CHECKPOINT
Regular checkpoint
|
CHECKPOINT_AND_HALT
Do checkpoint and then halt further computation
|
NONE
Do nothing, no checkpoint required
|
Modifier and Type | Method and Description |
---|---|
static CheckpointStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointStatus NONE
public static final CheckpointStatus CHECKPOINT
public static final CheckpointStatus CHECKPOINT_AND_HALT
public static CheckpointStatus[] values()
for (CheckpointStatus c : CheckpointStatus.values()) System.out.println(c);
public static CheckpointStatus 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 nullCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.