Share via


AsynchronousChannelGroup.Shutdown Method

Definition

Initiates an orderly shutdown of the group.

[Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler", ApiSince=26)]
public abstract void Shutdown ();
[<Android.Runtime.Register("shutdown", "()V", "GetShutdownHandler", ApiSince=26)>]
abstract member Shutdown : unit -> unit
Attributes

Remarks

Initiates an orderly shutdown of the group.

This method marks the group as shutdown. Further attempts to construct channel that binds to this group will throw ShutdownChannelGroupException. The group terminates when all asynchronous channels in the group are closed, all actively executing completion handlers have run to completion, and all resources have been released. This method has no effect if the group is already shutdown.

Java documentation for java.nio.channels.AsynchronousChannelGroup.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