|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.batch.core.StepContribution
public class StepContribution
Represents a contribution to a StepExecution
, buffering changes
until they can be applied at a chunk boundary.
Constructor Summary | |
---|---|
StepContribution(StepExecution execution)
|
Method Summary | |
---|---|
void |
combineSkipCounts()
Combine the skip counts and reset read skips to zero. |
int |
getCommitCount()
Public getter for the commit counter. |
int |
getItemCount()
Public access to the item counter. |
int |
getReadSkipCount()
|
int |
getSkipCount()
|
int |
getStepSkipCount()
|
void |
incrementCommitCount()
Increment the commit counter. |
void |
incrementItemCount()
Increment the counter for the number of items processed. |
void |
incrementReadSkipCount()
Increment the counter for skipped reads |
void |
incrementSkipCount()
Increment the total skip count for this contribution |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StepContribution(StepExecution execution)
execution
- Method Detail |
---|
public void incrementItemCount()
public int getItemCount()
public void incrementCommitCount()
public int getCommitCount()
public int getStepSkipCount()
StepExecution
and this StepContribution
, including uncommitted read
skips.public int getSkipCount()
StepContribution
(not including skips accumulated in the
parent StepExecution
.public void incrementSkipCount()
public void incrementReadSkipCount()
public int getReadSkipCount()
public void combineSkipCounts()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |