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
FieldsModifier and TypeFieldDescriptionprotected final EventBundleprotected final Stringprotected final List<EventListenerDescriptor> protected final byte[] -
Constructor Summary
ConstructorsConstructorDescriptionEventBundleBulkRunner(List<EventListenerDescriptor> listeners, EventBundle bundle) -
Method Summary
Modifier and TypeMethodDescriptioncall()protected io.opencensus.trace.SpangetTracingSpan(String spanName)