Enum DeliverOrder

java.lang.Object
java.lang.Enum<DeliverOrder>
org.infinispan.remoting.inboundhandler.DeliverOrder
All Implemented Interfaces:
Serializable, Comparable<DeliverOrder>

public enum DeliverOrder extends Enum<DeliverOrder>
Used in RPC, it defines how the messages are delivered to the nodes.
Since:
7.1
Author:
Pedro Ruivo
  • Enum Constant Details

    • NONE

      public static final DeliverOrder NONE
      The message is delivered as soon as it is received. No order is ensured between messages.
    • PER_SENDER

      public static final DeliverOrder PER_SENDER
      The message is delivered by the order they are sent. If a node sends M1 and M2 to other node, it delivers first M1 and then M2.
  • Method Details

    • values

      public static DeliverOrder[] 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 DeliverOrder 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
    • preserveOrder

      public abstract boolean preserveOrder()