Enum Sequence.IncompleteSequenceBehavior

    • Enum Constant Detail

      • NO_DISCARD

        public static final Sequence.IncompleteSequenceBehavior NO_DISCARD
        The default value which indicates that no acknowledged messages in the Sequence will be discarded.
      • DISCARD_ENTIRE_SEQUENCE

        public static final Sequence.IncompleteSequenceBehavior DISCARD_ENTIRE_SEQUENCE
        Value indicates that the entire Sequence MUST be discarded if the Sequence is closed, or terminated, when there are one or more gaps in the final SequenceAcknowledgement.
      • DISCARD_FOLLOWING_FIRST_GAP

        public static final Sequence.IncompleteSequenceBehavior DISCARD_FOLLOWING_FIRST_GAP
        Value indicates that messages in the Sequence beyond the first gap MUST be discarded when there are one or more gaps in the final SequenceAcknowledgement.
    • Method Detail

      • values

        public static Sequence.IncompleteSequenceBehavior[] 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 (Sequence.IncompleteSequenceBehavior c : Sequence.IncompleteSequenceBehavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Sequence.IncompleteSequenceBehavior 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