Package org.mapfish.print.processor
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 Summary
Methods inherited from class java.util.concurrent.RecursiveTask
exec, getRawResult, setRawResult
Methods inherited from class java.util.concurrent.ForkJoinTask
adapt, adapt, adapt, compareAndSetForkJoinTaskTag, complete, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollSubmission, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork
-
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.
-
compute
- Specified by:
compute
in classRecursiveTask<Values>
-
getExecutionContext
-