ForkJoinTask.QuietlyJoin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.