Package com.espertech.esperio.csv
Class DirectSender
java.lang.Object
com.espertech.esperio.csv.AbstractSender
com.espertech.esperio.csv.DirectSender
- Direct Known Subclasses:
SenderThreadPool
Sender that sends without a threadpool.
-
Field Summary
Fields inherited from class com.espertech.esperio.csv.AbstractSender
runtime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFinish()
Indicate that sender should stop.void
sendEvent
(AbstractSendableEvent theEvent, Object beanToSend, String eventTypeName) Send an eventvoid
sendEvent
(AbstractSendableEvent theEvent, Map mapToSend, String eventTypeName) Send an event.Methods inherited from class com.espertech.esperio.csv.AbstractSender
setRuntime
-
Constructor Details
-
DirectSender
public DirectSender()
-
-
Method Details
-
sendEvent
Description copied from class:AbstractSender
Send an event- Specified by:
sendEvent
in classAbstractSender
- Parameters:
theEvent
- wrapperbeanToSend
- event objecteventTypeName
- event type name
-
sendEvent
Description copied from class:AbstractSender
Send an event.- Specified by:
sendEvent
in classAbstractSender
- Parameters:
theEvent
- wrappermapToSend
- event objecteventTypeName
- name of event type
-
onFinish
public void onFinish()Description copied from class:AbstractSender
Indicate that sender should stop.- Specified by:
onFinish
in classAbstractSender
-