Package pabeles.concurrency
Class IntOperatorTask
- All Implemented Interfaces:
Serializable,Future<Number>
- Direct Known Subclasses:
IntOperatorTask.Max,IntOperatorTask.Min,IntOperatorTask.Sum
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIntOperatorTask(int value, int max, Class primitiveType, IntProducerNumber consumer) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexec()protected abstract IntOperatorTasknewInstance(int value, int max, Class primitiveType, IntProducerNumber consumer) protected abstract voidprotected voidsetRawResult(Number 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
-
Constructor Details
-
IntOperatorTask
-
-
Method Details
-
getRawResult
- Specified by:
getRawResultin classForkJoinTask<Number>
-
setRawResult
- Specified by:
setRawResultin classForkJoinTask<Number>
-
exec
protected boolean exec()- Specified by:
execin classForkJoinTask<Number>
-
newInstance
protected abstract IntOperatorTask newInstance(int value, int max, Class primitiveType, IntProducerNumber consumer) -
operator
-