Enum CheckpointOptions.AlignmentType
- java.lang.Object
-
- java.lang.Enum<CheckpointOptions.AlignmentType>
-
- org.apache.flink.runtime.checkpoint.CheckpointOptions.AlignmentType
-
- All Implemented Interfaces:
Serializable,Comparable<CheckpointOptions.AlignmentType>
- Enclosing class:
- CheckpointOptions
public static enum CheckpointOptions.AlignmentType extends Enum<CheckpointOptions.AlignmentType>
How a checkpoint should be aligned.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIGNEDAT_LEAST_ONCEFORCED_ALIGNEDUNALIGNED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckpointOptions.AlignmentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CheckpointOptions.AlignmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT_LEAST_ONCE
public static final CheckpointOptions.AlignmentType AT_LEAST_ONCE
-
ALIGNED
public static final CheckpointOptions.AlignmentType ALIGNED
-
UNALIGNED
public static final CheckpointOptions.AlignmentType UNALIGNED
-
FORCED_ALIGNED
public static final CheckpointOptions.AlignmentType FORCED_ALIGNED
-
-
Method Detail
-
values
public static CheckpointOptions.AlignmentType[] 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 (CheckpointOptions.AlignmentType c : CheckpointOptions.AlignmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckpointOptions.AlignmentType 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
-
-