Compartir a través de


ForkJoinPool.Execute Method

Definition

Overloads

Execute(IRunnable)
Execute(ForkJoinTask)

Arranges for (asynchronous) execution of the given task.

Execute(IRunnable)

[Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")]
public override void Execute (Java.Lang.IRunnable? task);
[<Android.Runtime.Register("execute", "(Ljava/lang/Runnable;)V", "GetExecute_Ljava_lang_Runnable_Handler")>]
override this.Execute : Java.Lang.IRunnable -> unit

Parameters

task
IRunnable
Attributes

Exceptions

if the task is null

if the task cannot be scheduled for execution

Remarks

Java documentation for java.util.concurrent.ForkJoinPool.execute(java.lang.Runnable).

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

Execute(ForkJoinTask)

Arranges for (asynchronous) execution of the given task.

[Android.Runtime.Register("execute", "(Ljava/util/concurrent/ForkJoinTask;)V", "GetExecute_Ljava_util_concurrent_ForkJoinTask_Handler")]
public virtual void Execute (Java.Util.Concurrent.ForkJoinTask? task);
[<Android.Runtime.Register("execute", "(Ljava/util/concurrent/ForkJoinTask;)V", "GetExecute_Ljava_util_concurrent_ForkJoinTask_Handler")>]
override this.Execute : Java.Util.Concurrent.ForkJoinTask -> unit

Parameters

task
ForkJoinTask

the task

Attributes

Remarks

Arranges for (asynchronous) execution of the given task.

Java documentation for java.util.concurrent.ForkJoinPool.execute(java.util.concurrent.ForkJoinTask<?>).

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