QueueEventBufferpublic interface EventBuffer
The reference implementation of this interface is QueueEventBuffer.
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
add(java.util.List<Event> events) | 
 Adds the given events to the buffer. 
 | 
java.util.List<Event> | 
readAll() | 
 Returns all events stored by this buffer. 
 | 
java.util.List<Event> | 
readClass(EventClass eventClass,
         int limit) | 
 Returns events of the given class. 
 | 
java.util.List<Event> | 
readGroup(StaticGroup group,
         int limit) | 
 Returns events belonging to the given static group. 
 | 
void | 
remove(java.util.List<Event> events) | 
 Removes the given list of events from the buffer. 
 | 
void add(java.util.List<Event> events)
events - the events to addvoid remove(java.util.List<Event> events)
events - the events to removejava.util.List<Event> readAll()
java.util.List<Event> readClass(EventClass eventClass, int limit)
limit is <= 0, all events of the given class are returned.eventClass - the event classlimit - the maximum number of events to returnjava.util.List<Event> readGroup(StaticGroup group, int limit)
limit is <= 0, all events of the given class
 are returned.group - the static grouplimit - the maximum number of events to return