public interface EventBundleDispatcher
EventBundle
between different EventBundlePipe
Modifier and Type | Method and Description |
---|---|
void |
init(List<EventPipeDescriptor> pipeDescriptors,
Map<String,String> parameters)
Initialize the dispatcher
|
void |
sendEventBundle(EventBundle events)
Forward an
EventBundle to the underlying EventBundlePipe s |
void |
shutdown()
Shutdown callback
|
boolean |
waitForCompletion(long timeoutMillis)
Wait until the end of processing
|
void init(List<EventPipeDescriptor> pipeDescriptors, Map<String,String> parameters)
pipeDescriptors
- descriptors of the underlying EventBundlePipe
svoid sendEventBundle(EventBundle events)
EventBundle
to the underlying EventBundlePipe
sevents
- boolean waitForCompletion(long timeoutMillis) throws InterruptedException
timeoutMillis
- InterruptedException
void shutdown() throws InterruptedException
InterruptedException
Copyright © 2016 Nuxeo SA. All rights reserved.