com.rpl.rama.AckLevel
All Implemented Interfaces: Serializable, Comparable<AckLevel>, Constable
public enum AckLevel extends Enum < [AckLevel](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html) >
Ack levels for use with [depot clients](/content/javadoc/com/rpl/rama/Depot.html "interface in com.rpl.rama"/index.html).
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 |
|---|---|
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. |
APPEND_ACK |
Waits for confirmation the append has been received and replicated on the target depot partition. |
NONE |
Attempts the append but doesn't get any confirmation of success or failure. |
Method Summary
Modifier and Type
| Method | Description |
|---|---|
static AckLevel valueOf(String name) |
Returns the enum constant of this class with the specified name. |
static AckLevel[] values() |
Returns an array containing the constants of this enum class, in the order they are declared. |
Methods inherited from class java.lang. Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang. Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Details
NONE
public static final [AckLevel](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html) 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](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html) 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](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html) 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](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html)[] 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](/content/javadoc/com/rpl/rama/AckLevel.html "enum class in com.rpl.rama"/index.html) 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.