Package org.nuxeo.ecm.core.event.pipe
Interface EventBundlePipe
- All Known Implementing Classes:
AbstractEventBundlePipe,LocalEventBundlePipe
public interface EventBundlePipe
Interface for a pipe of events. This is the abstraction used to bridge the Nuxeo events to pipes that consume them.
- Since:
- 8.4
-
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize the Pipe when Nuxeo Event Service startsvoidsendEventBundle(EventBundle events) Send anEventBundleinside the pipevoidshutdown()Shutdown callback when theEventServicestopsbooleanwaitForCompletion(long timeoutMillis) Wait until the end of event consumption
-
Method Details
-
initPipe
Initialize the Pipe when Nuxeo Event Service starts- Parameters:
name- the name as defined in the XMap descriptorparams- the parameters as defined in the XMap descriptor
-
sendEventBundle
Send anEventBundleinside the pipe -
waitForCompletion
Wait until the end of event consumption- Throws:
InterruptedException
-
shutdown
Shutdown callback when theEventServicestops- Throws:
InterruptedException
-