Udostępnij za pośrednictwem


ThreadPoolExecutor.AwaitTermination(Int64, TimeUnit) Method

Definition

[Android.Runtime.Register("awaitTermination", "(JLjava/util/concurrent/TimeUnit;)Z", "GetAwaitTermination_JLjava_util_concurrent_TimeUnit_Handler")]
public override bool AwaitTermination (long timeout, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("awaitTermination", "(JLjava/util/concurrent/TimeUnit;)Z", "GetAwaitTermination_JLjava_util_concurrent_TimeUnit_Handler")>]
override this.AwaitTermination : int64 * Java.Util.Concurrent.TimeUnit -> bool

Parameters

timeout
Int64
unit
TimeUnit

Returns

Attributes

Exceptions

Remarks

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