|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.terasoluna.fw.batch.core.AbstractCollector
jp.terasoluna.fw.batch.init.JobRequestInfoCollector
public class JobRequestInfoCollector
非同期ジョブ起動時のジョブ依頼情報取得用クラス。
フィールドの概要 | |
---|---|
private long |
intervalSeconds
ジョブ管理テーブルの監視周期(秒)。 |
protected java.lang.String |
jobBeanPath
実行ジョブ定義ファイルパス。 |
protected JobControlTableHandler |
jobControlTableHandler
ジョブ管理テーブルハンドラクラスのインスタンス。 |
private static Log |
log
ログインスタンス。 |
private int |
refreshCount
リフレッシュカウント。 |
コンストラクタの概要 | |
---|---|
JobRequestInfoCollector()
|
メソッドの概要 | |
---|---|
protected CollectorResult |
doCollect(JobContext jobContext,
CollectedDataHandler collectedDataHandler,
JobStatus jobStatus)
ジョブ依頼情報取得、監視処理の実行。 |
protected JobInfo |
getJobMessageInfo(int selectCount,
JobInfo jobInfo)
処理対象データの取得 |
protected void |
overrideDescriptionPath(JobInfo jobInfo)
ジョブBean定義パスの上書き |
void |
setIntervalSeconds(long intervalSeconds)
監視周期を設定する。 |
void |
setJobBeanPath(java.lang.String jobBeanPath)
実行ジョブ定義ファイルパス。 |
void |
setJobControlTableHandler(JobControlTableHandler jobControlTableHandler)
ジョブ管理テーブルハンドラクラスのインスタンスを設定する。 |
void |
setRefreshCount(int refreshCount)
リフレッシュカウントを設定する。 |
protected int |
updateJobStart(JobInfo jobInfo)
キューに入れる前にジョブ起動状況を開始に更新する |
クラス jp.terasoluna.fw.batch.core.AbstractCollector から継承されたメソッド |
---|
collect, setCollectedDataHandlerFactory |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
private static final Log log
protected JobControlTableHandler jobControlTableHandler
private long intervalSeconds
private int refreshCount
protected java.lang.String jobBeanPath
コンストラクタの詳細 |
---|
public JobRequestInfoCollector()
メソッドの詳細 |
---|
protected CollectorResult doCollect(JobContext jobContext, CollectedDataHandler collectedDataHandler, JobStatus jobStatus)
AbstractCollector
内の doCollect
jobContext
- ジョブコンテキストcollectedDataHandler
- ワーカキューjobStatus
- 処理状況
protected int updateJobStart(JobInfo jobInfo)
jobInfo
- 対象ジョブ情報
protected JobInfo getJobMessageInfo(int selectCount, JobInfo jobInfo)
selectCount
- 取得データ数jobInfo
- 対象ジョブ情報
protected void overrideDescriptionPath(JobInfo jobInfo)
jobInfo
- 対象ジョブ情報public void setJobControlTableHandler(JobControlTableHandler jobControlTableHandler)
jobControlTableHandler
- ジョブ管理テーブルハンドラクラスのインスタ
ンスpublic void setIntervalSeconds(long intervalSeconds)
intervalSeconds
- 監視周期(秒)public void setRefreshCount(int refreshCount)
refreshCount
- リフレッシュカウント。public void setJobBeanPath(java.lang.String jobBeanPath)
jobBeanPath
- 実行ジョブ定義ファイルパス
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |