Java.Util.Concurrent.ForkJoinPool Members

The members of Java.Util.Concurrent.ForkJoinPool are listed below.

See Also: Inherited members from Java.Util.Concurrent.AbstractExecutorService

Public Constructors

Creates a ForkJoinPool with parallelism equal to Java.Lang.Runtime.AvailableProcessors, using the ForkJoinPool.DefaultForkJoinWorkerThreadFactory, no UncaughtExceptionHandler, and non-async LIFO processing mode.
Creates a ForkJoinPool with the indicated parallelism level, the ForkJoinPool.DefaultForkJoinWorkerThreadFactory, no UncaughtExceptionHandler, and non-async LIFO processing mode.
Creates a ForkJoinPool with the given parameters.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
ActiveThreadCountint. Returns an estimate of the number of threads that are currently stealing or executing tasks.
[read-only]
AsyncModebool. Returns true if this pool uses local first-in-first-out scheduling mode for forked tasks that are never joined.
[read-only]
static
DefaultForkJoinWorkerThreadFactoryForkJoinPool.IForkJoinWorkerThreadFactory. Creates a new ForkJoinWorkerThread.
[read-only]
FactoryForkJoinPool.IForkJoinWorkerThreadFactory. Returns the factory used for constructing new workers.
[read-only]
HasQueuedSubmissionsbool. Returns true if there are any tasks submitted to this pool that have not yet begun executing.
[read-only]
IsQuiescentbool. Returns true if all worker threads are currently idle.
[read-only]
override
IsShutdownbool. Returns true if this pool has been shut down.
[read-only]
override
IsTerminatedbool. Returns true if all tasks have completed following shut down.
[read-only]
IsTerminatingbool. Returns true if the process of termination has commenced but not yet completed.
[read-only]
Parallelismint. Returns the targeted parallelism level of this pool.
[read-only]
PoolSizeint. Returns the number of worker threads that have started but not yet terminated.
[read-only]
QueuedSubmissionCountint. Returns an estimate of the number of tasks submitted to this pool that have not yet begun executing.
[read-only]
QueuedTaskCountlong. Returns an estimate of the total number of tasks currently held in queues by worker threads (but not including tasks submitted to the pool that have not begun executing).
[read-only]
RunningThreadCountint. Returns an estimate of the number of worker threads that are not blocked waiting to join tasks or for other managed synchronization.
[read-only]
StealCountlong. Returns an estimate of the total number of tasks stolen from one thread's work queue by another.
[read-only]
UncaughtExceptionHandlerJava.Lang.Thread.IUncaughtExceptionHandler. Returns the handler for internal worker threads that terminate due to unrecoverable errors encountered while executing tasks.

Protected Properties

[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.

Public Methods

override
AwaitTermination(long, TimeUnit) : bool
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
override
Execute(Java.Lang.IRunnable)
Execute(ForkJoinTask)
Documentation for this section has not yet been entered.
Invoke(ForkJoinTask) : Java.Lang.Object
Documentation for this section has not yet been entered.
static
ManagedBlock(ForkJoinPool.IManagedBlocker)
Blocks in accord with the given blocker.
override
Shutdown()
Possibly initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
override
ShutdownNow() : IList<Java.Lang.IRunnable>
Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.
Submit(ForkJoinTask) : ForkJoinTask
Documentation for this section has not yet been entered.

Protected Methods

DrainTasksTo(ICollection<ForkJoinTask>) : int
Documentation for this section has not yet been entered.
PollSubmission() : ForkJoinTask
Removes and returns the next unexecuted submission if one is available.