Share via


ThreadPoolExecutor.CompletedTaskCount Property

Definition

Returns the approximate total number of tasks that have completed execution.

public virtual long CompletedTaskCount { [Android.Runtime.Register("getCompletedTaskCount", "()J", "GetGetCompletedTaskCountHandler")] get; }
[<get: Android.Runtime.Register("getCompletedTaskCount", "()J", "GetGetCompletedTaskCountHandler")>]
member this.CompletedTaskCount : int64

Property Value

the number of tasks

Attributes

Remarks

Returns the approximate total number of tasks that have completed execution. Because the states of tasks and threads may change dynamically during computation, the returned value is only an approximation, but one that does not ever decrease across successive calls.

Java documentation for java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount().

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