Enum Class DeliverOrder

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

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.
    • NONE_NO_FC

      public static final DeliverOrder NONE_NO_FC
      The message is delivered as soon as it is received and, it is not affected by any flow control algorithm. 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.
    • PER_SENDER_NO_FC

      public static final DeliverOrder PER_SENDER_NO_FC
      The message is delivered by the order they are sent and, it is not affected by any flow control algorithm. 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 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 DeliverOrder 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
    • preserveOrder

      public abstract boolean preserveOrder()
    • skipFlowControl

      public boolean skipFlowControl()