|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.JRcServer.commons.thread.OneThread
public class OneThread
スレッド処理実施.
対象処理をスレッド処理で1度実施するためのオブジェクトです.
メソッドの概要 | |
---|---|
void |
clear()
スレッド削除. |
static OneThread |
createInstance(boolean mode,
ExecutionThread exec)
オブジェクト情報の生成. |
static OneThread |
createInstance(boolean mode,
ExecutionThread exec,
java.lang.Object input)
オブジェクト情報の生成. |
static OneThread |
createInstance(boolean mode,
int priority,
ExecutionThread exec,
java.lang.Object input)
オブジェクト情報の生成. |
static OneThread |
createInstance(ExecutionThread exec)
オブジェクト情報の生成. |
static OneThread |
createInstance(ExecutionThread exec,
int priority,
java.lang.Object input)
オブジェクト情報の生成. |
static OneThread |
createInstance(ExecutionThread exec,
java.lang.Object input)
オブジェクト情報の生成. |
void |
destroyThread()
スレッド破棄を実施. |
ExecutionThread |
getExecutionThread()
スレッド実行用オブジェクトを取得. |
int |
getPriority()
スレッドプライオリティを取得. |
int |
getState()
スレッドステータス情報を取得. |
long |
getThreadTime()
スレッド実施時間の取得. |
boolean |
isCreate()
スレッド生成チェック. |
boolean |
isExit()
スレッド終了チェック. |
boolean |
isStart()
スレッド開始チェック. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static final OneThread createInstance(ExecutionThread exec) throws InputException, ExecutionException
exec
- 実施用オブジェクトを設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public static final OneThread createInstance(ExecutionThread exec, java.lang.Object input) throws InputException, ExecutionException
exec
- 実施用オブジェクトを設定します.input
- 対象のスレッド引数を設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public static final OneThread createInstance(ExecutionThread exec, int priority, java.lang.Object input) throws InputException, ExecutionException
exec
- 実施用オブジェクトを設定します.priority
- 対象のプライオリティを設定します.input
- 対象のスレッド引数を設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public static final OneThread createInstance(boolean mode, ExecutionThread exec) throws InputException, ExecutionException
mode
- 処理時にスレッドログに登録するか有無を指定します.exec
- 実施用オブジェクトを設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public static final OneThread createInstance(boolean mode, ExecutionThread exec, java.lang.Object input) throws InputException, ExecutionException
mode
- 処理時にスレッドログに登録するか有無を指定します.exec
- 実施用オブジェクトを設定します.input
- 対象のスレッド引数を設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public static final OneThread createInstance(boolean mode, int priority, ExecutionThread exec, java.lang.Object input) throws InputException, ExecutionException
mode
- 処理時にスレッドログに登録するか有無を指定します.priority
- 対象のプライオリティを設定します.exec
- 実施用オブジェクトを設定します.input
- 対象のスレッド引数を設定します.
InputException
- 入力例外.
ExecutionException
- 実施例外.public final void clear()
public final void destroyThread()
public final int getState()
public final long getThreadTime()
public final int getPriority()
public final ExecutionThread getExecutionThread()
public final boolean isCreate()
public final boolean isStart()
public final boolean isExit()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |