The methods of Java.Util.Concurrent.ForkJoinTask are listed below. For a list of all members, see the ForkJoinTask Members list.
See Also: Inherited members from Java.Lang.Object
static | Adapt(Java.Lang.IRunnable)Returns a new ForkJoinTask that performs the run method of the given Runnable as its action, and returns a null result upon ForkJoinTask.Join. | |
static | Adapt(ICallable)Documentation for this section has not yet been entered. | |
static | Adapt(Java.Lang.IRunnable, Java.Lang.Object)Documentation for this section has not yet been entered. | |
Cancel(bool)Attempts to cancel execution of this task. | ||
Complete(Java.Lang.Object)Documentation for this section has not yet been entered. | ||
CompleteExceptionally(Java.Lang.Throwable)Completes this task abnormally, and if not already aborted or cancelled, causes it to throw the given exception upon join and related operations. | ||
Fork()Arranges to asynchronously execute this task in the pool the current task is running in, if applicable, or using the ForkJoinPool.commonPool() if not ForkJoinTask.InForkJoinPool. | ||
Get()Waits if necessary for the computation to complete, and then retrieves its result. | ||
Get(long, TimeUnit)Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available. | ||
static | HelpQuiesce()Possibly executes tasks until the pool hosting the current task ForkJoinPool.IsQuiescent. | |
static | InForkJoinPool()Returns true if the current thread is a Java.Util.Concurrent.ForkJoinWorkerThread executing as a ForkJoinPool computation. | |
Invoke()Commences performing this task, awaits its completion if necessary, and returns its result, or throws an (unchecked) RuntimeException or Error if the underlying computation did so. | ||
static | InvokeAll(params ForkJoinTask[])Documentation for this section has not yet been entered. | |
static | InvokeAll(ICollection)Documentation for this section has not yet been entered. | |
static | InvokeAll(ForkJoinTask, ForkJoinTask)Documentation for this section has not yet been entered. | |
Join()Returns the result of the computation when it ForkJoinTask.IsDone. | ||
QuietlyInvoke()Commences performing this task and awaits its completion if necessary, without returning its result or throwing its exception. | ||
QuietlyJoin()Joins this task, without returning its result or throwing its exception. | ||
Reinitialize()Resets the internal bookkeeping state of this task, allowing a subsequent fork. | ||
TryUnfork()Tries to unschedule this task for execution. |
abstract | Exec()Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed normally. | |
static | PeekNextLocalTask()Returns, but does not unschedule or execute, a task queued by the current thread but not yet executed, if one is immediately available. | |
static | PollNextLocalTask()Unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if the current thread is operating in a ForkJoinPool. | |
static | PollTask()If the current thread is operating in a ForkJoinPool, unschedules and returns, without executing, the next task queued by the current thread but not yet executed, if one is available, or if not available, a task that was forked by some other thread, if available. | |
abstract | SetRawResult(Java.Lang.Object)Documentation for this section has not yet been entered. |