Share via


ForkJoinTask.QuietlyJoin Method

Definition

Overloads

QuietlyJoin(Int64, TimeUnit)

Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout and the current thread has not been interrupted.

QuietlyJoin()

Joins this task, without returning its result or throwing its exception.

QuietlyJoin(Int64, TimeUnit)

Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout and the current thread has not been interrupted.

[Android.Runtime.Register("quietlyJoin", "(JLjava/util/concurrent/TimeUnit;)Z", "", ApiSince=36)]
public bool QuietlyJoin(long timeout, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("quietlyJoin", "(JLjava/util/concurrent/TimeUnit;)Z", "", ApiSince=36)>]
member this.QuietlyJoin : int64 * Java.Util.Concurrent.TimeUnit -> bool

Parameters

timeout
Int64

the maximum time to wait

unit
TimeUnit

the time unit of the timeout argument

Returns

true if this task completed

Attributes

Remarks

Tries to join this task, returning true if it completed (possibly exceptionally) before the given timeout and the current thread has not been interrupted.

Added in 19.

Java documentation for java.util.concurrent.ForkJoinTask.quietlyJoin(long, java.util.concurrent.TimeUnit).

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

QuietlyJoin()

Joins this task, without returning its result or throwing its exception.

[Android.Runtime.Register("quietlyJoin", "()V", "")]
public void QuietlyJoin();
[<Android.Runtime.Register("quietlyJoin", "()V", "")>]
member this.QuietlyJoin : unit -> unit
Attributes

Remarks

Joins this task, without returning its result or throwing its exception. This method may be useful when processing collections of tasks when some have been cancelled or otherwise known to have aborted.

Java documentation for java.util.concurrent.ForkJoinTask.quietlyJoin().

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