@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Dispatcher.ForParallelTransformation.Factory extends Object implements Plugin.Engine.Dispatcher.Factory
Constructor and Description |
---|
Factory(Executor executor)
Creates a new dispatcher factory for parallel dispatching using the supplied executor.
|
Modifier and Type | Method and Description |
---|---|
Plugin.Engine.Dispatcher |
make(Plugin.Engine.Target.Sink sink,
List<TypeDescription> transformed,
Map<TypeDescription,List<Throwable>> failed,
List<String> unresolved)
Creates a new dispatcher.
|
public Factory(Executor executor)
executor
- The executor to use.public Plugin.Engine.Dispatcher make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved)
make
in interface Plugin.Engine.Dispatcher.Factory
sink
- The sink to write any work to.transformed
- A list of all types that are transformed.failed
- A mapping of all types that failed during transformation to the exceptions that explain the failure.unresolved
- A list of type names that could not be resolved.Copyright © 2014–2020. All rights reserved.