Class FJBatchIterableProcedureTask<T, PT extends Procedure<? super T>>
java.lang.Object
java.util.concurrent.ForkJoinTask<PT>
org.eclipse.collections.impl.forkjoin.FJBatchIterableProcedureTask<T,PT>
- All Implemented Interfaces:
Serializable, Future<PT>
public class FJBatchIterableProcedureTask<T, PT extends Procedure<? super T>>
extends ForkJoinTask<PT>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Constructor Summary
ConstructorsConstructorDescriptionFJBatchIterableProcedureTask(FJBatchIterableProcedureRunner<T, PT> newFJTaskRunner, ProcedureFactory<PT> newProcedureFactory, BatchIterable<T> iterable, int index, int count) Creates an array of ProcedureFJTasks wrapping Procedures created by the specified ProcedureFactory. -
Method Summary
Methods inherited from class ForkJoinTask
adapt, adapt, adapt, adaptInterruptible, adaptInterruptible, adaptInterruptible, cancel, compareAndSetForkJoinTaskTag, complete, completeExceptionally, exceptionNow, 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, quietlyJoin, quietlyJoinUninterruptibly, reinitialize, resultNow, setForkJoinTaskTag, state, tryUnfork
-
Constructor Details
-
FJBatchIterableProcedureTask
public FJBatchIterableProcedureTask(FJBatchIterableProcedureRunner<T, PT> newFJTaskRunner, ProcedureFactory<PT> newProcedureFactory, BatchIterable<T> iterable, int index, int count) Creates an array of ProcedureFJTasks wrapping Procedures created by the specified ProcedureFactory.
-
-
Method Details
-
exec
protected boolean exec()- Specified by:
execin classForkJoinTask<PT extends Procedure<? super T>>
-
getRawResult
- Specified by:
getRawResultin classForkJoinTask<PT extends Procedure<? super T>>
-
setRawResult
- Specified by:
setRawResultin classForkJoinTask<PT extends Procedure<? super T>>
-