Enum Message.Priority

java.lang.Object
java.lang.Enum<Message.Priority>
no.mnemonic.messaging.requestsink.Message.Priority
All Implemented Interfaces:
Serializable, Comparable<Message.Priority>, java.lang.constant.Constable
Enclosing interface:
Message

public static enum Message.Priority extends Enum<Message.Priority>
Allow client to set a priority hint on the message. Messages with priority bulk should be processed later than messages with priority standard. Expedite messages should be pushed to the front of the queue. The implementation of this is depending on underlying implementation.
  • Enum Constant Details

  • Method Details

    • values

      public static Message.Priority[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Message.Priority 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