Megosztás a következőn keresztül:


ThreadPoolExecutor.IsTerminating Property

Definition

Returns true if this executor is in the process of terminating after #shutdown or #shutdownNow but has not completely terminated.

public virtual bool IsTerminating { [Android.Runtime.Register("isTerminating", "()Z", "GetIsTerminatingHandler")] get; }
[<get: Android.Runtime.Register("isTerminating", "()Z", "GetIsTerminatingHandler")>]
member this.IsTerminating : bool

Property Value

true if terminating but not yet terminated

Attributes

Remarks

Returns true if this executor is in the process of terminating after #shutdown or #shutdownNow but has not completely terminated. This method may be useful for debugging. A return of true reported a sufficient period after shutdown may indicate that submitted tasks have ignored or suppressed interruption, causing this executor not to properly terminate.

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

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