Package com.rpl.rama

Enum Class AckLevel

java.lang.Object
java.lang.Enum<AckLevel>
com.rpl.rama.AckLevel
All Implemented Interfaces:
Serializable, Comparable<AckLevel>, Constable

public enum AckLevel extends Enum<AckLevel>
Ack levels for use with depot clients.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Waits for confirmation the append has been received and replicated on the target depot partition and that all colocated stream topologies have processed the append.
    Waits for confirmation the append has been received and replicated on the target depot partition.
    Attempts the append but doesn't get any confirmation of success or failure.
  • Method Summary

    Modifier and Type
    Method
    Description
    static AckLevel
    Returns the enum constant of this class with the specified name.
    static AckLevel[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final AckLevel NONE
      Attempts the append but doesn't get any confirmation of success or failure. Depot appends with this ack level are not guaranteed to succeed.
    • APPEND_ACK

      public static final AckLevel APPEND_ACK
      Waits for confirmation the append has been received and replicated on the target depot partition. Does not wait for colocated stream topologies to process the append.
    • ACK

      public static final AckLevel ACK
      Waits for confirmation the append has been received and replicated on the target depot partition and that all colocated stream topologies have processed the append.
  • Method Details

    • values

      public static AckLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AckLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null