Class CountingCompletionPolicy.CountingBatchContext
- java.lang.Object
- org.springframework.batch.repeat.context.SynchronizedAttributeAccessor
- org.springframework.batch.repeat.context.RepeatContextSupport
- org.springframework.batch.repeat.policy.CountingCompletionPolicy.CountingBatchContext
- All Implemented Interfaces:
RepeatContext
,org.springframework.core.AttributeAccessor
- Enclosing class:
- CountingCompletionPolicy
protected class CountingCompletionPolicy.CountingBatchContext extends RepeatContextSupport
Constructor Summary
Constructors Constructor Description CountingBatchContext(RepeatContext parent)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepeatContextCounter
getCounter()
Methods inherited from class org.springframework.batch.repeat.context.RepeatContextSupport
close, getParent, getStartedCount, increment, isCompleteOnly, isTerminateOnly, registerDestructionCallback, setCompleteOnly, setTerminateOnly
Methods inherited from class org.springframework.batch.repeat.context.SynchronizedAttributeAccessor
attributeNames, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttribute, setAttributeIfAbsent, toString
Constructor Detail
CountingBatchContext
public CountingBatchContext(RepeatContext parent)
Method Detail
getCounter
public RepeatContextCounter getCounter()