クラス
java.nio.channels.AsynchronousChannelGroupの使用
-
AsynchronousChannelGroupを使用しているパッケージ パッケージ 説明 java.nio.channels 入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。java.nio.channels.spi java.nio.channels
パッケージのサービス・プロバイダ・クラス。 -
-
java.nio.channelsでのAsynchronousChannelGroupの使用
AsynchronousChannelGroupを返すjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 static AsynchronousChannelGroup
AsynchronousChannelGroup. withCachedThreadPool(ExecutorService executor, int initialSize)
必要に応じて新しいスレッドを作成する指定されたスレッド・プールで、非同期チャネル・グループを作成します。static AsynchronousChannelGroup
AsynchronousChannelGroup. withFixedThreadPool(int nThreads, ThreadFactory threadFactory)
固定されたスレッド・プールで非同期チャネル・グループを作成します。static AsynchronousChannelGroup
AsynchronousChannelGroup. withThreadPool(ExecutorService executor)
指定されたスレッド・プールで非同期チャネル・グループを作成します。AsynchronousChannelGroup型のパラメータを持つjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 static AsynchronousServerSocketChannel
AsynchronousServerSocketChannel. open(AsynchronousChannelGroup group)
非同期のサーバー・ソケット・チャネルを開きます。static AsynchronousSocketChannel
AsynchronousSocketChannel. open(AsynchronousChannelGroup group)
非同期のソケット・チャネルを開きます。 -
java.nio.channels.spiでのAsynchronousChannelGroupの使用
AsynchronousChannelGroupを返すjava.nio.channels.spiのメソッド 修飾子と型 メソッド 説明 abstract AsynchronousChannelGroup
AsynchronousChannelProvider. openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory)
固定されたスレッド・プールで新しい非同期チャネル・グループを構築します。abstract AsynchronousChannelGroup
AsynchronousChannelProvider. openAsynchronousChannelGroup(ExecutorService executor, int initialSize)
指定されたスレッド・プールで新しい非同期チャネル・グループを構築します。AsynchronousChannelGroup型のパラメータを持つjava.nio.channels.spiのメソッド 修飾子と型 メソッド 説明 abstract AsynchronousServerSocketChannel
AsynchronousChannelProvider. openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)
非同期のサーバー・ソケット・チャネルを開きます。abstract AsynchronousSocketChannel
AsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)
非同期のソケット・チャネルを開きます。
-