|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PendingRequestStatus> org.cumulus4j.store.crypto.keymanager.messagebroker.pmf.PendingRequestStatus
public enum PendingRequestStatus
A PendingRequest
's status
.
The MessageBrokerPMF
first assigns the status waitingForProcessing
when a new request comes in when a thread enters the
query(...)
method.
When a key-manager obtains the request by calling pollRequest(...)
,
the status changes to currentlyBeingProcessed
.
Finally, when the pushResponse(...)
method is called, the response is associated with the request
(via PendingRequest.setResponse(org.cumulus4j.keymanager.back.shared.Response)
) and the status advances to completed
.
When the query(...)
method picks up the response, it finally deletes the PendingRequest
from the datastore.
Enum Constant Summary | |
---|---|
completed
|
|
currentlyBeingProcessed
|
|
waitingForProcessing
|
Method Summary | |
---|---|
static PendingRequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PendingRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PendingRequestStatus waitingForProcessing
public static final PendingRequestStatus currentlyBeingProcessed
public static final PendingRequestStatus completed
Method Detail |
---|
public static PendingRequestStatus[] values()
for (PendingRequestStatus c : PendingRequestStatus.values()) System.out.println(c);
public static PendingRequestStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Cumulus4j API (1.0.0) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |