|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Streams are virtual pipes that continously handle events.
Method Summary | |
int |
getCurrentSize()
Returns the current (used) size of stream |
int |
getMaxSize()
Returns maximum size of stream |
int |
getMaxThreads()
Returns maximum number of threads that a stream should use for processing events. |
void |
setMaxSize(int size)
Maximum number of events that a stream can hold at a time. |
void |
setMaxThreads(int maxThreads)
Maximum number of threads that a stream should use for processing events. |
Methods inherited from interface com.bea.wlevs.ede.api.EventSink |
onEvent |
Methods inherited from interface com.bea.wlevs.ede.api.EventSender |
sendEvent |
Method Detail |
public void setMaxSize(int size) throws java.beans.PropertyVetoException
size
- - the maximum allowable number of retained eventspublic int getMaxSize()
public int getCurrentSize()
public void setMaxThreads(int maxThreads)
threads
- - the number of worker threads to use.public int getMaxThreads()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |