Class FJListProcedureTask<T,​PT extends Procedure<? super T>>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.Future<PT>

    public class FJListProcedureTask<T,​PT extends Procedure<? super T>>
    extends java.util.concurrent.ForkJoinTask<PT>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FJListProcedureTask​(FJListProcedureRunner<T,​PT> newFJTaskRunner, ProcedureFactory<PT> newProcedureFactory, java.util.List<T> list, int index, int sectionSize, boolean isLast)
      Creates an array of ProcedureFJTasks wrapping Procedures created by the specified ProcedureFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean exec()  
      PT getRawResult()  
      protected void setRawResult​(PT value)  
      • Methods inherited from class java.util.concurrent.ForkJoinTask

        adapt, adapt, adapt, cancel, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FJListProcedureTask

        public FJListProcedureTask​(FJListProcedureRunner<T,​PT> newFJTaskRunner,
                                   ProcedureFactory<PT> newProcedureFactory,
                                   java.util.List<T> list,
                                   int index,
                                   int sectionSize,
                                   boolean isLast)
        Creates an array of ProcedureFJTasks wrapping Procedures created by the specified ProcedureFactory.
    • Method Detail

      • exec

        protected boolean exec()
        Specified by:
        exec in class java.util.concurrent.ForkJoinTask<PT extends Procedure<? super T>>
      • getRawResult

        public PT getRawResult()
        Specified by:
        getRawResult in class java.util.concurrent.ForkJoinTask<PT extends Procedure<? super T>>
      • setRawResult

        protected void setRawResult​(PT value)
        Specified by:
        setRawResult in class java.util.concurrent.ForkJoinTask<PT extends Procedure<? super T>>