E - The type of event.public interface BufferedEventsQueue<E> extends BufferedEventsDestination<E>, EventDispatcher<E>
| Modifier and Type | Method and Description |
|---|---|
EventQueue<ArrayList<E>> |
getEventQueue()
Returns the event queue.
|
void |
send(BufferedEventsDestination<E> destination,
E event)
Buffer the event for subsequent sending.
|
void |
sendPendingEvents()
Send any pending events.
|
void |
setInitialBufferCapacity(int initialBufferCapacity)
Set the initial capacity for buffered outgoing events.
|
putBufferedEventsdispatchEvents, isEmpty, setActiveEventProcessorvoid sendPendingEvents()
void setInitialBufferCapacity(int initialBufferCapacity)
initialBufferCapacity - The initial capacity for buffered outgoing events.void send(BufferedEventsDestination<E> destination, E event)
destination - Buffered events receiver.event - The event to be sent.EventQueue<ArrayList<E>> getEventQueue()
Copyright © 2012. All Rights Reserved.