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  EventBundleto the underlyingEventBundlePipes | 
| 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 EventBundlePipesvoid sendEventBundle(EventBundle events)
EventBundle to the underlying EventBundlePipesevents - boolean waitForCompletion(long timeoutMillis) throws InterruptedException
timeoutMillis - InterruptedExceptionvoid shutdown() throws InterruptedException
InterruptedExceptionCopyright © 2016 Nuxeo SA. All rights reserved.