Share via


ForkJoinPool.Shutdown Method

Definition

Possibly initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.

[Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler")]
public override void Shutdown ();
[<Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler")>]
override this.Shutdown : unit -> unit
Attributes

Remarks

Possibly initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. Invocation has no effect on execution state if this is the #commonPool(), and no additional effect if already shut down. Tasks that are in the process of being submitted concurrently during the course of this method may or may not be rejected.

Java documentation for java.util.concurrent.ForkJoinPool.shutdown().

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