public static interface Plugin.Engine.Dispatcher extends Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
Plugin.Engine.Dispatcher.Factory
A factory that is used for creating a dispatcher that is used for a specific plugin engine application.
|
static class |
Plugin.Engine.Dispatcher.ForParallelTransformation
A dispatcher that applies transformations within one or more threads in parallel to the default transformer.
|
static class |
Plugin.Engine.Dispatcher.ForSerialTransformation
A dispatcher that applies transformation upon discovery.
|
static interface |
Plugin.Engine.Dispatcher.Materializable
The result of a work assignment that needs to be invoked from the main thread that triggers a dispatchers life-cycle methods.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(Callable<? extends Callable<? extends Plugin.Engine.Dispatcher.Materializable>> work,
boolean eager)
Accepts a new work assignment.
|
void |
complete()
Completes the work being handled.
|
void accept(Callable<? extends Callable<? extends Plugin.Engine.Dispatcher.Materializable>> work, boolean eager) throws IOException
work
- The work to handle prefixed by a preprocessing step.eager
- true
if the processing does not need to be deferred until all preprocessing is complete.IOException
- If an I/O exception occurs.void complete() throws IOException
IOException
- If an I/O exception occurs.Copyright © 2014–2020. All rights reserved.