public interface LifecycleAware
EventHandler
to be notified when a thread for the
BatchEventProcessor
starts and shuts down.Modifier and Type | Method and Description |
---|---|
void |
onShutdown()
Called once just before the thread is shutdown.
|
void |
onStart()
Called once on thread start before first event is available.
|
void onStart()
void onShutdown()
Called once just before the thread is shutdown.
Sequence event processing will already have stopped before this method is called. No events will be processed after this message.