Enum PendingCheckpoint.TaskAcknowledgeResult
- java.lang.Object
-
- java.lang.Enum<PendingCheckpoint.TaskAcknowledgeResult>
-
- org.apache.flink.runtime.checkpoint.PendingCheckpoint.TaskAcknowledgeResult
-
- All Implemented Interfaces:
Serializable
,Comparable<PendingCheckpoint.TaskAcknowledgeResult>
- Enclosing class:
- PendingCheckpoint
public static enum PendingCheckpoint.TaskAcknowledgeResult extends Enum<PendingCheckpoint.TaskAcknowledgeResult>
Result of thePendingCheckpoint.acknowledgedTasks
method.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PendingCheckpoint.TaskAcknowledgeResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static PendingCheckpoint.TaskAcknowledgeResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final PendingCheckpoint.TaskAcknowledgeResult SUCCESS
-
DUPLICATE
public static final PendingCheckpoint.TaskAcknowledgeResult DUPLICATE
-
UNKNOWN
public static final PendingCheckpoint.TaskAcknowledgeResult UNKNOWN
-
DISCARDED
public static final PendingCheckpoint.TaskAcknowledgeResult DISCARDED
-
-
Method Detail
-
values
public static PendingCheckpoint.TaskAcknowledgeResult[] 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 (PendingCheckpoint.TaskAcknowledgeResult c : PendingCheckpoint.TaskAcknowledgeResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PendingCheckpoint.TaskAcknowledgeResult 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
-
-