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 TypeMethodDescriptionvoid
Initialize the Pipe when Nuxeo Event Service startsvoid
sendEventBundle
(EventBundle events) Send anEventBundle
inside the pipevoid
shutdown()
Shutdown callback when theEventService
stopsboolean
waitForCompletion
(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 anEventBundle
inside the pipe -
waitForCompletion
Wait until the end of event consumption- Throws:
InterruptedException
-
shutdown
Shutdown callback when theEventService
stops- Throws:
InterruptedException
-