|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
Add the temporary read skip count to read skip count and reset the temporary counter. |
int |
getCommitCount()
Public getter for the commit counter. |
int |
getItemCount()
Public access to the item counter. |
int |
getReadSkipCount()
|
int |
getSkipCount()
|
int |
getStepSkipCount()
|
int |
getWriteSkipCount()
|
void |
incrementCommitCount()
Increment the commit counter. |
void |
incrementItemCount()
Increment the counter for the number of items processed. |
void |
incrementReadsSkipCount()
Increment the read skip count for this contribution |
void |
incrementTemporaryReadSkipCount()
Increment the counter for temporary skipped reads |
void |
incrementWriteSkipCount()
Increment the write 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 incrementReadsSkipCount()
public void incrementWriteSkipCount()
public void incrementTemporaryReadSkipCount()
public int getReadSkipCount()
public int getWriteSkipCount()
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 |