public class ReceiverThreadPool extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static long |
MAX_WAIT_TIME_FOR_TERMINATION
スレッドプールの終了時にアクティブなスレッドの終了を待機する最長時間
|
static long |
THREAD_KEEP_ALIVE_TIME
アイドル状態のスレッドが終了前に新規タスクを待機する最大時間
|
static boolean |
threadPoolByInstance |
| コンストラクタと説明 |
|---|
ReceiverThreadPool()
ReceiverMgrオブジェクトを起動する。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
execute(Runnable receiveTask) |
void |
fin()
ReceiverMgrオブジェクトを終了させる。
|
static int |
getActiveCount() |
public static long THREAD_KEEP_ALIVE_TIME
public static final long MAX_WAIT_TIME_FOR_TERMINATION
public static boolean threadPoolByInstance
public static int getActiveCount()
public void execute(Runnable receiveTask) throws RejectedExecutionException
public void fin()
Copyright © 2017. All rights reserved.