Class Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService

    • Field Detail

      • executorService

        private final java.util.concurrent.ExecutorService executorService
        The executor service to delegate any work to.
    • Constructor Detail

      • WithThrowawayExecutorService

        protected WithThrowawayExecutorService​(java.util.concurrent.ExecutorService executorService,
                                               Plugin.Engine.Target.Sink sink,
                                               java.util.List<TypeDescription> transformed,
                                               java.util.Map<TypeDescription,​java.util.List<java.lang.Throwable>> failed,
                                               java.util.List<java.lang.String> unresolved)
        Creates a new dispatcher that applies transformations in parallel and that closes the supplies executor service.
        Parameters:
        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.