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

@Experimental public enum CloudTasksDeliveryGuarantee extends Enum<CloudTasksDeliveryGuarantee>
Delivery modes for Cloud Tasks task creation, distinct from handler execution.
  • Enum Constant Details

    • AT_LEAST_ONCE

      public static final CloudTasksDeliveryGuarantee AT_LEAST_ONCE
      Creates tasks eagerly; checkpoint replay can create another task.
    • EXACTLY_ONCE

      public static final CloudTasksDeliveryGuarantee EXACTLY_ONCE
      Creates checkpointed named envelopes within the documented recovery window.
  • Method Details

    • values

      public static CloudTasksDeliveryGuarantee[] 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

      public static CloudTasksDeliveryGuarantee 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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CloudTasksDeliveryGuarantee>