C# 클래스 Summer.Batch.Core.Partition.Support.AbstractPartitionHandler

Base IPartitionHandler implementation providing common base features. Subclasses are expected to implement only the DoHandle method which returns with the result of the execution(s) or an exception if the step failed to process.
상속: IPartitionHandler
파일 보기 프로젝트 열기: SummerBatch/SummerBatch

공개 메소드들

메소드 설명
Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection

see IPartitionHandler#Handle .

보호된 메소드들

메소드 설명
DoHandle ( StepExecution masterStepExecution, ICollection partitionStepExecutions ) : ICollection

Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.

메소드 상세

DoHandle() 보호된 추상적인 메소드

Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.
 if anything goes wrong. This allows implementations to /// be liberal and rely on the caller to translate an exception into a step /// failure as necessary.
protected abstract DoHandle ( StepExecution masterStepExecution, ICollection partitionStepExecutions ) : ICollection
masterStepExecution StepExecution the whole partition execution
partitionStepExecutions ICollection the StepExecution instances to execute
리턴 ICollection

Handle() 공개 메소드

see IPartitionHandler#Handle .
 
public Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection
stepSplitter IStepExecutionSplitter
masterStepExecution StepExecution
리턴 ICollection