Java.Util.Concurrent.ForkJoinTask: Property Members

The properties 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

Public Properties

[read-only]
ExceptionJava.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]
IsCancelledbool. Returns true if this task was cancelled before it completed normally.
[read-only]
IsCompletedAbnormallybool. Returns true if this task threw an exception or was cancelled.
[read-only]
IsCompletedNormallybool. Returns true if this task completed without throwing an exception and was not cancelled.
[read-only]
IsDonebool. Returns true if this task completed.
[read-only]
static
PoolForkJoinPool. Returns the pool hosting the current task execution, or null if this task is executing outside of any ForkJoinPool.
[read-only]
static
QueuedTaskCountint. Returns an estimate of the number of tasks that have been forked by the current worker thread but not yet executed.
[read-only]
static
SurplusQueuedTaskCountint. 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.

Protected Properties

[read-only]
abstract
RawRawResultJava.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
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.