Package com.tangosol.net.topic
Enum Class Subscriber.CommitResultStatus
- All Implemented Interfaces:
Serializable
,Comparable<Subscriber.CommitResultStatus>
,Constable
- Enclosing interface:
Subscriber<V>
The different result statuses for a commit request.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe position was already committed.The position was successfully committed.A commit request was made, but there was no position to be committed.The commit request was rejected.The position was successfully committed but the committing subscriber does not own the committed channel. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Subscriber.CommitResultStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Committed
The position was successfully committed. -
AlreadyCommitted
The position was already committed. Typically, this is caused by a commit of a higher position in the channel already being processed. -
Rejected
The commit request was rejected. -
Unowned
The position was successfully committed but the committing subscriber does not own the committed channel. -
NothingToCommit
A commit request was made, but there was no position to be committed.
-
-
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
-