Enum Class MatsTrace.Call.MessagingModel

java.lang.Object
java.lang.Enum<MatsTrace.Call.MessagingModel>
io.mats3.serial.MatsTrace.Call.MessagingModel
All Implemented Interfaces:
Serializable, Comparable<MatsTrace.Call.MessagingModel>, Constable
Enclosing interface:
MatsTrace.Call<Z>

public static enum MatsTrace.Call.MessagingModel extends Enum<MatsTrace.Call.MessagingModel>
Specifies what type of Messaging Model a 'to' and 'replyTo' is to go over: Queue or Topic. Queue is the obvious choice for most traffic, but sometimes talking to all nodes in a cluster is of interest.
  • Enum Constant Details

  • Method Details

    • values

      public static MatsTrace.Call.MessagingModel[] 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 MatsTrace.Call.MessagingModel 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