The members of Java.Util.Concurrent.ForkJoinTask are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | Exception | Java.Lang.Throwable. Returns the exception thrown by the base computation, or a CancellationException if cancelled, or null if none or if the method has not yet completed. |
[read-only] | IsCancelled | bool. Returns true if this task was cancelled before it completed normally. |
[read-only] | IsCompletedAbnormally | bool. Returns true if this task threw an exception or was cancelled. |
[read-only] | IsCompletedNormally | bool. Returns true if this task completed without throwing an exception and was not cancelled. |
[read-only] | IsDone | bool. Returns true if this task completed. |
[read-only] static | Pool | ForkJoinPool. Returns the pool hosting the current task execution, or null if this task is executing outside of any ForkJoinPool. |
[read-only] static | QueuedTaskCount | int. Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed. |
[read-only] static | SurplusQueuedTaskCount | int. Returns an estimate of how many more locally queued tasks are held by the current worker thread than there are other worker threads that might steal them, or zero if this thread is not operating in a ForkJoinPool. |
[read-only] abstract | RawRawResult | Java.Lang.Object. Returns the result that would be returned by ForkJoinTask.Join, even if this task completed abnormally, or null if this task is not known to have been completed. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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. |