public class SenderThreadPool extends DirectSender
runtime
Constructor and Description |
---|
SenderThreadPool(ExecutorService executorService)
Ctor.
|
SenderThreadPool(int threadPoolSize)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
sendEvent(Map mapToSend,
String eventTypeName)
Send an event.
|
void |
sendEvent(Object beanToSend)
Send an event.
|
onFinish, sendEvent, sendEvent
setRuntime
public SenderThreadPool(int threadPoolSize)
threadPoolSize
- size of poolpublic SenderThreadPool(ExecutorService executorService)
executorService
- threadpool to use