Enum Subscriber.CommitResultStatus

    • Enum Constant Detail

      • 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.
      • 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 Detail

      • values

        public static Subscriber.CommitResultStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Subscriber.CommitResultStatus c : Subscriber.CommitResultStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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