|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.commons.runner.DefaultStatusReporter
public class DefaultStatusReporter
指定されたストリームに状況を出力するレポーター。
| コンストラクタの概要 | |
|---|---|
DefaultStatusReporter(PrintStream stream)
コンストラクタ。 |
|
DefaultStatusReporter(PrintStream stream,
PrintStream exceptionStream)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
void |
end(int doneCount,
int faultCount)
処理終了時に呼び出される。 |
void |
report(long dt,
int doneCount,
int faultCount,
int total)
処理が1つ終了する度に呼び出される。 |
void |
reportException(Exception exception)
例外発生時、reportの直前に呼び出される。 |
void |
start()
処理開始時に呼び出される。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public DefaultStatusReporter(PrintStream stream)
stream - 出力先
public DefaultStatusReporter(PrintStream stream,
PrintStream exceptionStream)
stream - 出力先exceptionStream - 例外情報出力先| メソッドの詳細 |
|---|
public void start()
StatusReporter の記述:
StatusReporter 内の start
public void report(long dt,
int doneCount,
int faultCount,
int total)
StatusReporter の記述:
StatusReporter 内の reportdt - 終了した処理の経過時間doneCount - 正常終了した処理の数faultCount - 異常終了した処理の数total - 実行すべき全処理の数public void reportException(Exception exception)
StatusReporter の記述:
StatusReporter 内の reportExceptionexception - 発生した例外
public void end(int doneCount,
int faultCount)
StatusReporter の記述:
StatusReporter 内の enddoneCount - 正常終了した処理の数faultCount - 異常終了した処理の数
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||