Enum Class WebSubmitOutcome.Kind

java.lang.Object
java.lang.Enum<WebSubmitOutcome.Kind>
at.aimon.session.web.WebSubmitOutcome.Kind
All Implemented Interfaces:
Serializable, Comparable<WebSubmitOutcome.Kind>, Constable
Enclosing class:
WebSubmitOutcome

public static enum WebSubmitOutcome.Kind extends Enum<WebSubmitOutcome.Kind>
Distinguishes the two manager-level outcomes.
  • Enum Constant Details

    • EXECUTED_LOCALLY

      public static final WebSubmitOutcome.Kind EXECUTED_LOCALLY
      Lock acquired locally; the future completes when the turn finishes.
    • QUEUED

      public static final WebSubmitOutcome.Kind QUEUED
      Lock held elsewhere; the message was appended to the cross-node inbox.
  • Method Details

    • values

      public static WebSubmitOutcome.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 WebSubmitOutcome.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