Class SimpleEventBundlePipeDispatcher
java.lang.Object
org.nuxeo.ecm.core.event.pipe.dispatch.SimpleEventBundlePipeDispatcher
- All Implemented Interfaces:
EventBundleDispatcher
Basic implementation that simply forwards
EventBundle to all underlying EventBundlePipe- Since:
- 8.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize the dispatchervoidsendEventBundle(EventBundle events) Forward anEventBundleto the underlyingEventBundlePipesvoidshutdown()Shutdown callbackbooleanwaitForCompletion(long timeoutMillis) Wait until the end of processing
-
Field Details
-
pipes
-
parameters
-
-
Constructor Details
-
SimpleEventBundlePipeDispatcher
public SimpleEventBundlePipeDispatcher()
-
-
Method Details
-
init
Description copied from interface:EventBundleDispatcherInitialize the dispatcher- Specified by:
initin interfaceEventBundleDispatcher- Parameters:
pipeDescriptors- descriptors of the underlyingEventBundlePipes
-
sendEventBundle
Description copied from interface:EventBundleDispatcherForward anEventBundleto the underlyingEventBundlePipes- Specified by:
sendEventBundlein interfaceEventBundleDispatcher
-
waitForCompletion
Description copied from interface:EventBundleDispatcherWait until the end of processing- Specified by:
waitForCompletionin interfaceEventBundleDispatcher- Throws:
InterruptedException
-
shutdown
Description copied from interface:EventBundleDispatcherShutdown callback- Specified by:
shutdownin interfaceEventBundleDispatcher- Throws:
InterruptedException
-