Condividi tramite


ThreadPoolExecutor.PoolSize Property

Definition

Returns the current number of threads in the pool.

public virtual int PoolSize { [Android.Runtime.Register("getPoolSize", "()I", "GetGetPoolSizeHandler")] get; }
[<get: Android.Runtime.Register("getPoolSize", "()I", "GetGetPoolSizeHandler")>]
member this.PoolSize : int

Property Value

the number of threads

Attributes

Remarks

Returns the current number of threads in the pool.

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

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