Package nablarch.fw.batch.ee.progress
Class BasicProgressManager
java.lang.Object
nablarch.fw.batch.ee.progress.BasicProgressManager
- All Implemented Interfaces:
- ProgressManager
@Typed(ProgressManager.class)
public class BasicProgressManager
extends Object
implements ProgressManager
進捗を管理するステップスコープの
ProgressManager実装クラス。- 
Constructor SummaryConstructorsConstructorDescriptionBasicProgressManager(jakarta.batch.runtime.context.JobContext jobContext, jakarta.batch.runtime.context.StepContext stepContext) コンストラクタ。
- 
Method SummaryModifier and TypeMethodDescriptionprotected longステップコンテキストから読み取った件数を取得する。void進捗状況を出力する。voidoutputProgressInfo(long processedCount) 進捗状況を出力する。voidsetInputCount(long inputCount) 処理対象の件数を設定する。
- 
Constructor Details- 
BasicProgressManager@Inject public BasicProgressManager(jakarta.batch.runtime.context.JobContext jobContext, jakarta.batch.runtime.context.StepContext stepContext) コンストラクタ。- Parameters:
- jobContext- ジョブコンテキスト
- stepContext- ステップコンテキスト
 
 
- 
- 
Method Details- 
setInputCountpublic void setInputCount(long inputCount) Description copied from interface:ProgressManager処理対象の件数を設定する。- Specified by:
- setInputCountin interface- ProgressManager
- Parameters:
- inputCount- 処理対象の件数
 
- 
outputProgressInfopublic void outputProgressInfo()Description copied from interface:ProgressManager進捗状況を出力する。- Specified by:
- outputProgressInfoin interface- ProgressManager
 
- 
outputProgressInfopublic void outputProgressInfo(long processedCount) Description copied from interface:ProgressManager進捗状況を出力する。- Specified by:
- outputProgressInfoin interface- ProgressManager
- Parameters:
- processedCount- 処理済み件数
 
- 
getReadCountprotected long getReadCount()ステップコンテキストから読み取った件数を取得する。- Returns:
- 読み取った件数
 
 
-