ForkJoinTask.Exec Method

Definition

Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed.

[Android.Runtime.Register("exec", "()Z", "GetExecHandler")]
protected abstract bool Exec ();
[<Android.Runtime.Register("exec", "()Z", "GetExecHandler")>]
abstract member Exec : unit -> bool

Returns

true if this task is known to have completed normally

Attributes

Remarks

Immediately performs the base action of this task and returns true if, upon return from this method, this task is guaranteed to have completed. This method may return false otherwise, to indicate that this task is not necessarily complete (or is not known to be complete), for example in asynchronous actions that require explicit invocations of completion methods. This method may also throw an (unchecked) exception to indicate abnormal exit. This method is designed to support extensions, and should not in general be called otherwise.

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

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