Modifier and Type | Interface and Description |
---|---|
interface |
ShiftDao<T extends Token<T>,S extends Shift<T>> |
Modifier and Type | Interface and Description |
---|---|
interface |
Batch<T extends Token<T>>
|
interface |
Route<T extends Token<T>>
|
interface |
Shift<T extends Token<T>>
A contextual and practical representation of a Queue.
A Shift associates context like who owns the shift, what time to what time, who all are working in it etc. |
interface |
Token<T extends Token>
A manifestation of
Notification . |
interface |
TokenContainer<T extends Token<T>>
Common characteristics for Token containers.
|
class |
TokenPosition<T extends Token<T>>
Transient data that allows us a estimate/position details, wait time etc or a Token relative to its TokenContainer |
Modifier and Type | Interface and Description |
---|---|
interface |
Batch<T extends Token<T>>
|
interface |
ReQueableToken<T extends ReQueableToken>
A
Token aware of its neighbours in a Double linked list Q. |
interface |
TokenWrapper<O>
Support instances that cannot implemented
Token straight. |
Modifier and Type | Method and Description |
---|---|
Token |
TokenSwitchedException.getNewToken()
A switch occured with a new Token
|
Token |
TokenProcessingException.getToken()
The current token on which the Exception occoured
|
Modifier and Type | Method and Description |
---|---|
void |
TokenSwitchedException.setNewToken(Token newToken)
A switch occured with a new Token
|
void |
TokenProcessingException.setToken(Token token)
The current token on which the Exception occoured
|
Constructor and Description |
---|
TokenProcessingException(String message,
Token token) |
Modifier and Type | Class and Description |
---|---|
class |
BasicTokenEvent<T extends Token<T>>
Event over any
Token type. |
interface |
ChildTokenEvent<T extends Token<T>>
An
IChild and a TokenEvent .A child event is defined as one that is generated as a result of another event known as the IChild.getParent() event. |
class |
MessageTokenEvent<T extends Token<T>>
A
BasicTokenEvent that also carries a message |
interface |
MultipleTokenEvent<T extends Token<T>> |
class |
NextTokenEvent<T extends Token<T>>
A
BasicTokenEvent that also factors in automation of next token(s) based on a post current action scenario
described by NextTokenEvent.nextTokensAction . |
interface |
SingleTokenEvent<T extends Token<T>> |
interface |
SupplierTokenEvent<T extends Token<T>>
|
class |
SynchronousTokenChangeEventSupplierBackedListener<T extends Token<T>,PE extends ChildTokenEvent<T>>
A
SynchronousTokenChangeListener backed by a ClassReloadingStrategy.Strategy or code that generates further events based on the original one. |
class |
SynchronousTokenChangeListener<T extends Token<T>,CE extends TokenEvent<T>>
|
interface |
TokenEvent<T extends Token<T>>
Any Event related to a
Token
Note: ConsumerTokenStatus is a collection of pre-defined TokenStatus 's. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNotificationHelper<T extends Token<T>>
A Helper that encapsulates common task non-biz logic details around Notification.
|
class |
AbstractTokenNotificationListener<T extends Token<T>,N>
Handle all Notification (to Phone SMS) related stuff.
|
class |
DefaultTokenChangeExecuteStrategyListener<T extends Token<T>>
A listener to ensure
TokenEventSupplier.onTokenChange(com.neurosys.q.notification.events.SupplierTokenEvent) is executed,
as ChangeListener bound to the ShiftService or DefaultAbstractTokenContainerService . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTokenNotificationTrackerService<T extends Token<T>>
A default volatile in-memory tracker
TODO: Add Unit Test case
|
interface |
TokenNotificationTrackerService<T extends Token<T>>
A service to monitor which token has been notified and which not
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTokenChangeGenerator<T extends Token<T>,E extends TokenEvent<T>> |
interface |
BatchService<B extends Batch<T>,T extends Token<T>>
A generic definitions on the operations that are supported on a
Batch |
class |
DefaultAbstractTokenContainerService<T extends Token<T>,C extends TokenContainer<T>>
Common methods for any form of Token Container Service like
TokenManager and BatchService
Since this implements ChangeGenerator ; it will also generate Events of TypeBasicTokenEvent
|
interface |
QStrategy<T extends Token<T>> |
interface |
ShiftService<S extends Shift<T>,V,P,T extends Token<T>>
Manage
Shift s |
interface |
ShiftsRegister<T extends Token<T>,S extends Shift<T>>
A register to store active Shifts etc.
|
interface |
TokenContainerService<T extends Token<T>,C extends TokenContainer<T>>
|
interface |
TokenDispatcher<T extends Token<T>,E extends SingleTokenEvent<T>>
|
interface |
TokenEventSupplier<T extends Token<T>>
A Service or Strategy that supplies list of
TokenEvent based on a SynchronousTokenChange . |
interface |
TokenGenerator<T extends Token<T>,R extends TokenRequest,E extends TokenEvent<T>>
Token request agent facing facade that generates tokens based on a
TokenRequest .In some setups the TokenGenerator maybe on a different machine like a phone etc.The TokenGenerator may be the same or consult a TokenDispatcher . |
interface |
TokenManager<T extends Token<T>,S extends Shift<T>,E extends TokenEvent<T>>
Manages the life cycle of the
Token and the interactions with the receiving part.The TokenManager maybe same or different from a TokenDispatcher in the sense that the Dispatcher is a centralized control system
while the Manager is the local manager of the Q in a de-centralized system. |
Modifier and Type | Class and Description |
---|---|
class |
TrackTokenTransformer<T extends Token<T>,TR extends TrackToken>
|
Modifier and Type | Class and Description |
---|---|
class |
UserInTokenContainerTrackerDefaultService<T extends Token<T>,U extends User,TC extends TokenContainer<T>>
Default impl for
UserInTokenContainerTrackerService |
interface |
UserInTokenContainerTrackerService<T extends Token<T>,U extends User,TC extends TokenContainer<T>>
Tracks
Consumer added to a TokenContainer |
Copyright © 2018. All rights reserved.