Class Plugin.Engine.Dispatcher.ForParallelTransformation

java.lang.Object
net.bytebuddy.build.Plugin.Engine.Dispatcher.ForParallelTransformation
All Implemented Interfaces:
Closeable, AutoCloseable, Plugin.Engine.Dispatcher
Direct Known Subclasses:
Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService
Enclosing interface:
Plugin.Engine.Dispatcher

public static class Plugin.Engine.Dispatcher.ForParallelTransformation extends Object implements Plugin.Engine.Dispatcher
A dispatcher that applies transformations within one or more threads in parallel to the default transformer.
  • Constructor Details

    • ForParallelTransformation

      protected ForParallelTransformation(Executor executor, 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.
      Parameters:
      executor - The executor 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.
  • Method Details