|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.collection.EventBuffer
public class EventBuffer
Buffer for events - accumulates events until flushed.
Constructor Summary | |
---|---|
EventBuffer()
|
Method Summary | |
---|---|
void |
add(EventBean[] events)
Add an event array to buffer. |
void |
flush()
Empty buffer. |
EventBean[] |
getAndFlush()
Get the events currently buffered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBuffer()
Method Detail |
---|
public void add(EventBean[] events)
events
- to addpublic EventBean[] getAndFlush()
public void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |