Class ProcessorDependencyGraph.ProcessorGraphForkJoinTask

java.lang.Object
java.util.concurrent.ForkJoinTask<V>
java.util.concurrent.RecursiveTask<Values>
org.mapfish.print.processor.ProcessorDependencyGraph.ProcessorGraphForkJoinTask
All Implemented Interfaces:
Serializable, Future<Values>
Enclosing class:
ProcessorDependencyGraph

public final class ProcessorDependencyGraph.ProcessorGraphForkJoinTask extends RecursiveTask<Values>
A ForkJoinTask that will create ForkJoinTasks from each root and run each of them.
See Also:
  • Method Details

    • cancel

      public boolean cancel(boolean mayInterruptIfRunning)
      Cancels the complete processor graph of a print task.

      This is achieved by setting the cancel flag of the execution context, so that every processor can stop its execution.

      Specified by:
      cancel in interface Future<Values>
      Overrides:
      cancel in class ForkJoinTask<Values>
      Parameters:
      mayInterruptIfRunning - is ignored
    • compute

      protected Values compute()
      Specified by:
      compute in class RecursiveTask<Values>
    • getExecutionContext

      public Processor.ExecutionContext getExecutionContext()