ForkJoinTask.SurplusQueuedTaskCount Property

Definition

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.

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

Property Value

Int32

the surplus number of tasks, which may be negative

Attributes

Remarks

Java documentation for java.util.concurrent.ForkJoinTask.getSurplusQueuedTaskCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to