Enum Class JeroMQAsyncOperation.State

java.lang.Object
java.lang.Enum<JeroMQAsyncOperation.State>
dev.getelements.elements.rt.remote.jeromq.JeroMQAsyncOperation.State
All Implemented Interfaces:
Serializable, Comparable<JeroMQAsyncOperation.State>, Constable
Enclosing class:
JeroMQAsyncOperation

public static enum JeroMQAsyncOperation.State extends Enum<JeroMQAsyncOperation.State>
  • Enum Constant Details

    • CONNECTION_PENDING

      public static final JeroMQAsyncOperation.State CONNECTION_PENDING
      Indicates that the operation is acquiring a connection from the connection pool.
    • CONNECTION_ACQUIRED

      public static final JeroMQAsyncOperation.State CONNECTION_ACQUIRED
      Indicates that the operation has acquired a connection and we are waiting for the operation to finish.
    • CANCELLATION_PENDING

      public static final JeroMQAsyncOperation.State CANCELLATION_PENDING
      Indicates that the operation is pending cancellation, but the cancellation has not taken place.
    • CANCELED

      public static final JeroMQAsyncOperation.State CANCELED
      Indicates that the operation has been canceled successfully. This is a terminal state. Once in this state no other state changes may happen.
    • FINISH_PENDING

      public static final JeroMQAsyncOperation.State FINISH_PENDING
      Indicates that the operation is in the process of finishing, but has not yet finished.
    • FINISHED

      public static final JeroMQAsyncOperation.State FINISHED
      Indicates that the invocation has finished and the connection has been returned to the connection pool.
  • Method Details

    • values

      public static JeroMQAsyncOperation.State[] 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 JeroMQAsyncOperation.State 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