Enum CloudTasksDeliveryGuarantee
java.lang.Object
java.lang.Enum<CloudTasksDeliveryGuarantee>
io.github.flink.gcp.connector.cloudtasks.sink.CloudTasksDeliveryGuarantee
- All Implemented Interfaces:
Serializable,Comparable<CloudTasksDeliveryGuarantee>,java.lang.constant.Constable
Delivery modes for Cloud Tasks task creation, distinct from handler execution.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates tasks eagerly; checkpoint replay can create another task.Creates checkpointed named envelopes within the documented recovery window. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static CloudTasksDeliveryGuaranteeReturns the enum constant of this type with the specified name.static CloudTasksDeliveryGuarantee[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AT_LEAST_ONCE
Creates tasks eagerly; checkpoint replay can create another task. -
EXACTLY_ONCE
Creates checkpointed named envelopes within the documented recovery window.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<CloudTasksDeliveryGuarantee>
-