Java.Util.Concurrent.ForkJoinTask.SurplusQueuedTaskCount Property
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.

Syntax

[get: Android.Runtime.Register("getSurplusQueuedTaskCount", "()I", "GetGetSurplusQueuedTaskCountHandler")]
public static int SurplusQueuedTaskCount { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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. This value may be useful for heuristic decisions about whether to fork other tasks. In many usages of ForkJoinTasks, at steady state, each worker should aim to maintain a small constant surplus (for example, 3) of tasks, and to process computations locally if this threshold is exceeded.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0