@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService extends Plugin.Engine.Dispatcher.ForParallelTransformation
| Modifier and Type | Class and Description |
|---|---|
static class |
Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory
A factory for a parallel executor service that creates a new executor service on each plugin engine application.
|
Plugin.Engine.Dispatcher.ForParallelTransformation.EagerWork, Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorServicePlugin.Engine.Dispatcher.ForParallelTransformation, Plugin.Engine.Dispatcher.ForSerialTransformation, Plugin.Engine.Dispatcher.Materializable| Modifier | Constructor and Description |
|---|---|
protected |
WithThrowawayExecutorService(ExecutorService executorService,
Plugin.Engine.Target.Sink sink,
List<TypeDescription> transformed,
Map<TypeDescription,List<Throwable>> failed,
List<String> unresolved)
Creates a new dispatcher that applies transformations in parallel and that closes the supplies executor service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
accept, completeprotected WithThrowawayExecutorService(ExecutorService executorService, Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved)
executorService - The executor service to delegate any work to.sink - The target sink.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.public void close()
Plugin.Engine.Dispatcher.ForParallelTransformationclose in interface Closeableclose in interface AutoCloseableclose in class Plugin.Engine.Dispatcher.ForParallelTransformationCopyright © 2014–2023. All rights reserved.