Class AbstractEventFlusher
java.lang.Object
org.flowable.engine.impl.event.logger.AbstractEventFlusher
- All Implemented Interfaces:
CommandContextCloseListener,EventFlusher
- Direct Known Subclasses:
DatabaseEventFlusher
- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventHandler(EventLoggerEventHandler databaseEventLoggerEventHandler) voidclosed(CommandContext commandContext) Called when theCommandContextis successfully closed.voidsetEventHandlers(List<EventLoggerEventHandler> eventHandlers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.interceptor.CommandContextCloseListener
afterSessionsFlush, closeFailure, closing, multipleAllowed, order
-
Field Details
-
eventHandlers
-
-
Constructor Details
-
AbstractEventFlusher
public AbstractEventFlusher()
-
-
Method Details
-
closed
Description copied from interface:CommandContextCloseListenerCalled when theCommandContextis successfully closed. At this point, theTransactionContext(if applicable) has been successfully committed and no rollback has happened. AllSessioninstances have been closed. Note that throwing an exception here does *not* affect the transaction. TheCommandContextwill log the exception though.- Specified by:
closedin interfaceCommandContextCloseListener
-
getEventHandlers
- Specified by:
getEventHandlersin interfaceEventFlusher
-
setEventHandlers
- Specified by:
setEventHandlersin interfaceEventFlusher
-
addEventHandler
- Specified by:
addEventHandlerin interfaceEventFlusher
-