C# 클래스 Summer.Batch.Core.Scope.Context.StepContextRepeatCallback

Convenient base class for clients who need to do something in a repeat callback inside a IStep.
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
GetRepeatCallback ( StepExecution stepExecution, DoInChunkContext doInChunkContext ) : RepeatCallback

Manage the StepContext lifecycle. Business processing should be delegated to DoInChunkContext. This is to ensure that the current thread has a reference to the context, even if the callback is executed in a pooled thread. Handles the registration and unregistration of the step context, so clients should not duplicate those calls.

메소드 상세

GetRepeatCallback() 공개 정적인 메소드

Manage the StepContext lifecycle. Business processing should be delegated to DoInChunkContext. This is to ensure that the current thread has a reference to the context, even if the callback is executed in a pooled thread. Handles the registration and unregistration of the step context, so clients should not duplicate those calls.
public static GetRepeatCallback ( StepExecution stepExecution, DoInChunkContext doInChunkContext ) : RepeatCallback
stepExecution StepExecution
doInChunkContext DoInChunkContext
리턴 RepeatCallback