@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory extends Object implements Plugin.Engine.Dispatcher.Factory
Constructor and Description |
---|
Factory(int threads)
Creates a new factory.
|
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(int threads)
threads
- The amount of threads to create in the throw-away executor service.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–2022. All rights reserved.