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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the operation has been canceled successfully.Indicates that the operation is pending cancellation, but the cancellation has not taken place.Indicates that the operation has acquired a connection and we are waiting for the operation to finish.Indicates that the operation is acquiring a connection from the connection pool.Indicates that the operation is in the process of finishing, but has not yet finished.Indicates that the invocation has finished and the connection has been returned to the connection pool. -
Method Summary
Modifier and TypeMethodDescriptionstatic JeroMQAsyncOperation.State
Returns the enum constant of this class with the specified name.static JeroMQAsyncOperation.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTION_PENDING
Indicates that the operation is acquiring a connection from the connection pool. -
CONNECTION_ACQUIRED
Indicates that the operation has acquired a connection and we are waiting for the operation to finish. -
CANCELLATION_PENDING
Indicates that the operation is pending cancellation, but the cancellation has not taken place. -
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
Indicates that the operation is in the process of finishing, but has not yet finished. -
FINISHED
Indicates that the invocation has finished and the connection has been returned to the connection pool.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-