S
- as Statepublic interface QStatesStrategy<S>
Modifier and Type | Method and Description |
---|---|
List<S> |
getCancelledStates()
Cancelled states
|
List<S> |
getErrorStates()
Error types states
|
List<S> |
getInProcessStates()
|
List<S> |
getPreProcessStates()
|
List<S> |
getProcessedStates()
Those who are out of Q and have been served. |
List<S> |
getReadyAndRecentyProcessed()
For error correction; sometimes we need to look through
recently processed tokens, to reconsider them for processing
incase of client API failures / drops; that may cause what should be
in READY states ideally, as processed since it was polled but did
not reach client.
|
List<S> |
getReadyToBeProcessed()
Suitable to be Q'd and be processed.
Those who are In the Q or even Re-Qd. |
List<S> |
getReQStates()
Re-Q States
|
default List<S> |
userModifiable()
The List of states the user (not admin); can modify "to".
Current state is ignored. |
List<S> getPreProcessStates()
Token
s in the Q have not been processed.List<S> getReadyToBeProcessed()
List<S> getReadyAndRecentyProcessed()
getReadyToBeProcessed()
+ getInProcessStates()
typically.TokenContainerService#getReadyToBeProcessed(com.neurosys.q.domain.TokenContainer, Token), the extra token param is Last token. In that case it will re-check
In processed states also.
List<S> getInProcessStates()
List<S> getProcessedStates()
Copyright © 2018. All rights reserved.