Package psidev.psi.mi.jami.batch
Class BasicChunkLoggerListener
- java.lang.Object
-
- psidev.psi.mi.jami.batch.BasicChunkLoggerListener
-
- All Implemented Interfaces:
org.springframework.batch.core.ChunkListener
,org.springframework.batch.core.StepExecutionListener
,org.springframework.batch.core.StepListener
public class BasicChunkLoggerListener extends Object implements org.springframework.batch.core.StepExecutionListener, org.springframework.batch.core.ChunkListener
Listener to chumk operations- Since:
02/08/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description BasicChunkLoggerListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterChunk(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
void
afterChunkError(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
org.springframework.batch.core.ExitStatus
afterStep(org.springframework.batch.core.StepExecution stepExecution)
void
beforeChunk(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
void
beforeStep(org.springframework.batch.core.StepExecution stepExecution)
-
-
-
Method Detail
-
afterStep
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution)
- Specified by:
afterStep
in interfaceorg.springframework.batch.core.StepExecutionListener
-
beforeStep
public void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
- Specified by:
beforeStep
in interfaceorg.springframework.batch.core.StepExecutionListener
-
beforeChunk
public void beforeChunk(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
- Specified by:
beforeChunk
in interfaceorg.springframework.batch.core.ChunkListener
-
afterChunk
public void afterChunk(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
- Specified by:
afterChunk
in interfaceorg.springframework.batch.core.ChunkListener
-
afterChunkError
public void afterChunkError(org.springframework.batch.core.scope.context.ChunkContext chunkContext)
- Specified by:
afterChunkError
in interfaceorg.springframework.batch.core.ChunkListener
-
-