Package com.rpl.rama
Enum Class AckLevel
- All Implemented Interfaces:
Serializable,Comparable<AckLevel>,Constable
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 ConstantsEnum ConstantDescriptionWaits 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
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException- if the argument is null
-