Enum Class Subscriber.CommitResultStatus

java.lang.Object
java.lang.Enum<Subscriber.CommitResultStatus>
com.tangosol.net.topic.Subscriber.CommitResultStatus
All Implemented Interfaces:
Serializable, Comparable<Subscriber.CommitResultStatus>, Constable
Enclosing interface:
Subscriber<V>

public static enum Subscriber.CommitResultStatus extends Enum<Subscriber.CommitResultStatus>
The different result statuses for a commit request.
  • Enum Constant Details

    • Committed

      public static final Subscriber.CommitResultStatus Committed
      The position was successfully committed.
    • AlreadyCommitted

      public static final Subscriber.CommitResultStatus AlreadyCommitted
      The position was already committed. Typically, this is caused by a commit of a higher position in the channel already being processed.
    • Rejected

      public static final Subscriber.CommitResultStatus Rejected
      The commit request was rejected.
    • Unowned

      public static final Subscriber.CommitResultStatus Unowned
      The position was successfully committed but the committing subscriber does not own the committed channel.
    • NothingToCommit

      public static final Subscriber.CommitResultStatus NothingToCommit
      A commit request was made, but there was no position to be committed.
  • Method Details

    • values

      public static Subscriber.CommitResultStatus[] 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 Subscriber.CommitResultStatus 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