Package | Description |
---|---|
io.netty.util.internal.chmv8 |
Modifier and Type | Field and Description |
---|---|
(package private) CountedCompleter<?> |
CountedCompleter.completer
This task's completer, or null if none
|
Modifier and Type | Method and Description |
---|---|
CountedCompleter<?> |
CountedCompleter.firstComplete()
If this task's pending count is zero, returns this task;
otherwise decrements its pending count and returns
null . |
CountedCompleter<?> |
CountedCompleter.getCompleter()
Returns the completer established in this task's constructor,
or
null if none. |
CountedCompleter<?> |
CountedCompleter.getRoot()
Returns the root of the current computation; i.e., this
task if it has no completer, else its completer's root.
|
CountedCompleter<?> |
CountedCompleter.nextComplete()
If this task does not have a completer, invokes
ForkJoinTask.quietlyComplete() and returns null . |
Modifier and Type | Method and Description |
---|---|
(package private) int |
ForkJoinPool.externalHelpComplete(CountedCompleter<?> task) |
(package private) boolean |
ForkJoinPool.WorkQueue.externalPopAndExecCC(CountedCompleter<?> root)
Tries to pop and execute the given task or any other task
in its CountedCompleter computation.
|
private int |
ForkJoinPool.helpComplete(ForkJoinPool.WorkQueue joiner,
CountedCompleter<?> task)
Analog of tryHelpStealer for CountedCompleters.
|
(package private) boolean |
ForkJoinPool.WorkQueue.internalPopAndExecCC(CountedCompleter<?> root)
Internal version
|
void |
CountedCompleter.onCompletion(CountedCompleter<?> caller)
Performs an action when method
tryComplete() is invoked
and the pending count is zero, or when the unconditional
method complete(T) is invoked. |
boolean |
CountedCompleter.onExceptionalCompletion(java.lang.Throwable ex,
CountedCompleter<?> caller)
Performs an action when method
ForkJoinTask.completeExceptionally(Throwable) is invoked or method compute() throws an exception, and this task has not already
otherwise completed normally. |
(package private) boolean |
ForkJoinPool.WorkQueue.pollAndExecCC(CountedCompleter<?> root)
Tries to poll for and execute the given task or any other
task in its CountedCompleter computation.
|
Constructor and Description |
---|
CountedCompleter(CountedCompleter<?> completer)
Creates a new CountedCompleter with the given completer
and an initial pending count of zero.
|
CountedCompleter(CountedCompleter<?> completer,
int initialPendingCount)
Creates a new CountedCompleter with the given completer
and initial pending count.
|