@FunctionalInterface public static interface MultiSimQueueNotificationProcessor.Processor<J extends SimJob,Q extends SimQueue>
MultiSimQueueNotificationProcessor.Notifications.| Modifier and Type | Method and Description |
|---|---|
void |
process(List<MultiSimQueueNotificationProcessor.Notification<J,Q>> notifications)
Process the list of
MultiSimQueueNotificationProcessor.Notifications (which may change as a result). |
void process(List<MultiSimQueueNotificationProcessor.Notification<J,Q>> notifications)
MultiSimQueueNotificationProcessor.Notifications (which may change as a result).
In most cases, the processor should remove the first element from the list, process it, and repeat until the list is empty (minding the fact that the list can change while processing). This, however, is not a strict requirement, and a processor may decide to ignore certain notifications (which are then discarded upon return from the processor).
notifications - The (atomic) notifications, non-null.IllegalArgumentException - If the argument is null or illegally structured.Copyright © 2018. All rights reserved.