static final class ConcurrentHashMapV8.ReduceKeysTask<K,V> extends ConcurrentHashMapV8.BulkTask<K,V,K>
ForkJoinTask.AdaptedCallable<T>, ForkJoinTask.AdaptedRunnable<T>, ForkJoinTask.AdaptedRunnableAction, ForkJoinTask.ExceptionNode, ForkJoinTask.RunnableExecuteAction| Modifier and Type | Field and Description |
|---|---|
(package private) ConcurrentHashMapV8.ReduceKeysTask<K,V> |
nextRight |
(package private) ConcurrentHashMapV8.BiFun<? super K,? super K,? extends K> |
reducer |
(package private) K |
result |
(package private) ConcurrentHashMapV8.ReduceKeysTask<K,V> |
rights |
baseIndex, baseLimit, baseSize, batch, index, next, tabcompleter, pendingCANCELLED, DONE_MASK, EXCEPTIONAL, NORMAL, SIGNAL, SMASK, status| Constructor and Description |
|---|
ReduceKeysTask(ConcurrentHashMapV8.BulkTask<K,V,?> p,
int b,
int i,
int f,
ConcurrentHashMapV8.Node<K,V>[] t,
ConcurrentHashMapV8.ReduceKeysTask<K,V> nextRight,
ConcurrentHashMapV8.BiFun<? super K,? super K,? extends K> reducer) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
The main computation performed by this task.
|
K |
getRawResult()
Returns the result of the computation.
|
advanceaddToPendingCount, compareAndSetPendingCount, complete, decrementPendingCountUnlessZero, exec, firstComplete, getCompleter, getPendingCount, getRoot, internalPropagateException, nextComplete, onCompletion, onExceptionalCompletion, propagateCompletion, quietlyCompleteRoot, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, cancelIgnoringExceptions, compareAndSetForkJoinTaskTag, completeExceptionally, doExec, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpExpungeStaleExceptions, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, recordExceptionalCompletion, reinitialize, rethrow, setForkJoinTaskTag, trySetSignal, tryUnfork, uncheckedThrowfinal ConcurrentHashMapV8.BiFun<? super K,? super K,? extends K> reducer
K result
ConcurrentHashMapV8.ReduceKeysTask<K,V> rights
ConcurrentHashMapV8.ReduceKeysTask<K,V> nextRight
ReduceKeysTask(ConcurrentHashMapV8.BulkTask<K,V,?> p, int b, int i, int f, ConcurrentHashMapV8.Node<K,V>[] t, ConcurrentHashMapV8.ReduceKeysTask<K,V> nextRight, ConcurrentHashMapV8.BiFun<? super K,? super K,? extends K> reducer)
public final K getRawResult()
CountedCompleternull, which is appropriate for Void
actions, but in other cases should be overridden, almost
always to return a field or function of a field that
holds the result upon completion.getRawResult in class CountedCompleter<K>public final void compute()
CountedCompletercompute in class CountedCompleter<K>