Enum RestoreMode
- java.lang.Object
-
- java.lang.Enum<RestoreMode>
-
- org.apache.flink.runtime.jobgraph.RestoreMode
-
- All Implemented Interfaces:
Serializable,Comparable<RestoreMode>,org.apache.flink.configuration.DescribedEnum
@PublicEvolving public enum RestoreMode extends Enum<RestoreMode> implements org.apache.flink.configuration.DescribedEnum
Defines how Flink should restore from a given savepoint or retained checkpoint.
-
-
Field Summary
Fields Modifier and Type Field Description static RestoreModeDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElementgetDescription()static RestoreModevalueOf(String name)Returns the enum constant of this type with the specified name.static RestoreMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLAIM
public static final RestoreMode CLAIM
-
NO_CLAIM
public static final RestoreMode NO_CLAIM
-
LEGACY
@Deprecated public static final RestoreMode LEGACY
Deprecated.
-
-
Field Detail
-
DEFAULT
public static final RestoreMode DEFAULT
-
-
Method Detail
-
values
public static RestoreMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RestoreMode c : RestoreMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestoreMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
@Internal public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-
-