ForkJoinPool.QueuedTaskCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
public virtual long QueuedTaskCount { [Android.Runtime.Register("getQueuedTaskCount", "()J", "GetGetQueuedTaskCountHandler")] get; }
[<get: Android.Runtime.Register("getQueuedTaskCount", "()J", "GetGetQueuedTaskCountHandler")>]
member this.QueuedTaskCount : int64
Property Value
the number of queued tasks
- Attributes
Remarks
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). This value is only an approximation, obtained by iterating across all threads in the pool. This method may be useful for tuning task granularities.
Java documentation for java.util.concurrent.ForkJoinPool.getQueuedTaskCount()
.
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.