Caches all events that do not have a listener associated with them.
The events will be stored until the cache limit is reached.
After reaching the cache size, events will be discarded using first in,
first out semantics.
flushEvents(String namespaceURI) Flushes the Events from the cache matching the event type namespace.
Parameters: namespaceURI - the Event type namespace.
Add the Event to the cache.
If the maximum size of the cache is reached, the first Event
added will be removed from the cache(FIFO)
Parameters: e - The Event to be added to the cache.
Flushes the Events from the cache matching the event type namespace.
Parameters: namespaceURI - the Event type namespace. List the list of Events matching the event type namespace.
Returns all the events matching the event type. This method doesn't
remove the events from the cache.
Parameters: eventType - the Event type. the list of Events matching the event type.
Returns all the events matching the event type namespace. This method doesn't
remove the events from the cache.
Parameters: namespaceURI - the Event type namespace. the list of Events matching the event type namespace.
Sets the cache size. This method can be used to dynamically change the
cache size from the configured size.
Parameters: size - Indicates the new size of the cache.