|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.AbstractSender
com.espertech.esperio.DirectSender
com.espertech.esperio.ext.SenderThreadPool
public class SenderThreadPool
Implementation of Sender to send to esper engine using a thread pool
Field Summary |
---|
Fields inherited from class com.espertech.esperio.AbstractSender |
---|
runtime |
Constructor Summary | |
---|---|
SenderThreadPool(java.util.concurrent.ExecutorService executorService)
Ctor. |
|
SenderThreadPool(int threadPoolSize)
Ctor. |
Method Summary | |
---|---|
void |
sendEvent(java.util.Map mapToSend,
java.lang.String eventTypeName)
Send an event. |
void |
sendEvent(java.lang.Object beanToSend)
Send an event. |
Methods inherited from class com.espertech.esperio.DirectSender |
---|
onFinish, sendEvent, sendEvent |
Methods inherited from class com.espertech.esperio.AbstractSender |
---|
setRuntime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SenderThreadPool(int threadPoolSize)
threadPoolSize
- size of poolpublic SenderThreadPool(java.util.concurrent.ExecutorService executorService)
executorService
- threadpool to useMethod Detail |
---|
public void sendEvent(java.lang.Object beanToSend)
beanToSend
- event to sendpublic void sendEvent(java.util.Map mapToSend, java.lang.String eventTypeName)
mapToSend
- event to sendeventTypeName
- name of event type
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |