Enum Class Mq.ListenIntensity

java.lang.Object
java.lang.Enum<Mq.ListenIntensity>
com.mayam.wf.mq.Mq.ListenIntensity
All Implemented Interfaces:
Serializable, Comparable<Mq.ListenIntensity>, Constable
Enclosing interface:
Mq

public static enum Mq.ListenIntensity extends Enum<Mq.ListenIntensity>
The intensity with which listening should be performed. This affects timeouts.
  • Enum Constant Details

    • INTENSE

      public static final Mq.ListenIntensity INTENSE
      Intense listening should only be used in situations requiring immediate action.
    • NORMAL

      public static final Mq.ListenIntensity NORMAL
      Normal intensity provides a good balance between responsiveness and preserving system resources.
    • RELAXED

      public static final Mq.ListenIntensity RELAXED
      Relaxed intensity should be used in cases where messages are far in between and a delay is acceptable.
  • Method Details

    • values

      public static Mq.ListenIntensity[] 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 Mq.ListenIntensity 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