Package org.nuxeo.ecm.core.event.impl
Class PostCommitEventExecutor.EventBundleBulkRunner
java.lang.Object
org.nuxeo.ecm.core.event.impl.PostCommitEventExecutor.EventBundleBulkRunner
- Enclosing class:
- PostCommitEventExecutor
protected static class PostCommitEventExecutor.EventBundleBulkRunner
extends Object
implements Callable<Boolean>
Lets the listeners process the event bundle in bulk mode.
The event bundle is reconnected to a single session and a single transaction is started for all the listeners.
In case of exception in a listener, the transaction is rolled back and processing stops.
In case of timeout, the transaction is rolled back and processing stops.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EventBundle
protected final String
protected final List<EventListenerDescriptor>
protected final byte[]
-
Constructor Summary
ConstructorDescriptionEventBundleBulkRunner
(List<EventListenerDescriptor> listeners, EventBundle bundle) -
Method Summary
Modifier and TypeMethodDescriptioncall()
protected io.opencensus.trace.Span
getTracingSpan
(String spanName)