QueuePolicy is used to control how events should be queued in the
current buffer. The QueuePolicy will be called when an event has
arrived.
QueuePolicyOption
| Modifier and Type | Method and Description |
|---|---|
| public void |
| doOffer | back to summary |
|---|---|
| public void doOffer(U queue, PushEvent<? extends T> event) throws Exception Enqueue the event and return the remaining capacity available for events
| |