Package net.bytebuddy.build
Class Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory
- java.lang.Object
-
- net.bytebuddy.build.Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory
-
- All Implemented Interfaces:
Plugin.Engine.Dispatcher.Factory
@Enhance public static class Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory extends Object implements Plugin.Engine.Dispatcher.Factory
A factory for a parallel executor service that creates a new executor service on each plugin engine application.
-
-
Constructor Summary
Constructors Constructor Description Factory(int threads)
Creates a new factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
make
public Plugin.Engine.Dispatcher make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription,List<Throwable>> failed, List<String> unresolved)
Creates a new dispatcher.- Specified by:
make
in interfacePlugin.Engine.Dispatcher.Factory
- Parameters:
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.- Returns:
- The dispatcher to use.
-
-