public abstract class AbstractFinishingListener extends BaseEventListener implements FinishingListener
eventFilter, logger, name| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFinishingListener(EventListenerContext context) |
protected |
AbstractFinishingListener(EventListenerContext context,
EventFilter eventFilter) |
protected |
AbstractFinishingListener(EventListenerContext context,
java.lang.String name) |
protected |
AbstractFinishingListener(EventListenerContext context,
java.lang.String name,
EventFilter eventFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
doOnEvent(Event event) |
protected abstract void |
handleEvent(Event event) |
abstract boolean |
isFinished() |
protected void |
performFinish()
Performs all finishing actions and sets the finished flag
|
java.lang.String |
toString() |
protected abstract void |
unsubscribe() |
countThrowable, getEventCount, getEventListenerContext, getExceptionCount, getMillisExecuting, isUnsubscribeOnException, onEvent, publishFinishedEvent, setUnsubscribeOnException, shouldHandleEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonEventprotected AbstractFinishingListener(EventListenerContext context)
protected AbstractFinishingListener(EventListenerContext context, EventFilter eventFilter)
protected AbstractFinishingListener(EventListenerContext context, java.lang.String name)
protected AbstractFinishingListener(EventListenerContext context, java.lang.String name, EventFilter eventFilter)
public void doOnEvent(Event event) throws java.lang.Exception
doOnEvent in class BaseEventListenerjava.lang.Exceptionprotected void performFinish()
protected abstract void unsubscribe()
protected abstract void handleEvent(Event event) throws java.lang.Exception
java.lang.Exceptionpublic abstract boolean isFinished()
isFinished in interface FinishingListenerpublic java.lang.String toString()
toString in class BaseEventListenerCopyright © 2018. All Rights Reserved.