パッケージ org.piax.gtrans.impl
クラス ReceiverThreadPool
java.lang.Object
org.piax.gtrans.impl.ReceiverThreadPool
public class ReceiverThreadPool extends Object
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static longMAX_WAIT_TIME_FOR_TERMINATIONスレッドプールの終了時にアクティブなスレッドの終了を待機する最長時間static longTHREAD_KEEP_ALIVE_TIMEアイドル状態のスレッドが終了前に新規タスクを待機する最大時間static booleanthreadPoolByInstance -
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ReceiverThreadPool()ReceiverMgrオブジェクトを起動する。 -
メソッドの概要
修飾子とタイプ メソッド 説明 voidexecute(Runnable receiveTask)voidfin()ReceiverMgrオブジェクトを終了させる。static intgetActiveCount()
-
フィールド詳細
-
THREAD_KEEP_ALIVE_TIME
public static long THREAD_KEEP_ALIVE_TIMEアイドル状態のスレッドが終了前に新規タスクを待機する最大時間 -
MAX_WAIT_TIME_FOR_TERMINATION
public static final long MAX_WAIT_TIME_FOR_TERMINATIONスレッドプールの終了時にアクティブなスレッドの終了を待機する最長時間- 関連項目:
- 定数フィールド値
-
threadPoolByInstance
public static boolean threadPoolByInstance
-
-
コンストラクタの詳細
-
ReceiverThreadPool
public ReceiverThreadPool()ReceiverMgrオブジェクトを起動する。
-
-
メソッドの詳細
-
getActiveCount
public static int getActiveCount() -
execute
-
fin
public void fin()ReceiverMgrオブジェクトを終了させる。 スレッドプールがこのメソッドにより終了する。
-