Enum Class PushResult.Kind

java.lang.Object
java.lang.Enum<PushResult.Kind>
fr.robie.machineengine.api.machine.PushResult.Kind
All Implemented Interfaces:
Serializable, Comparable<PushResult.Kind>, Constable
Enclosing class:
PushResult

public static enum PushResult.Kind extends Enum<PushResult.Kind>
  • Enum Constant Details

    • DELIVERED

      public static final PushResult.Kind DELIVERED
      Moved directly; PushResult.moved() arrived at the target.
    • HANDOFF

      public static final PushResult.Kind HANDOFF
      Sent to another region; PushResult.moved() is in escrow until the target answers.
    • BUSY

      public static final PushResult.Kind BUSY
      A handoff on this route is still in flight; nothing was sent (backpressure).
    • NO_TARGET

      public static final PushResult.Kind NO_TARGET
      No machine, port or loaded chunk on that side.
  • Method Details

    • values

      public static PushResult.Kind[] 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 PushResult.Kind 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