|
||||||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
ExitStatus |
getExitStatus()
Public getter for the status. |
int |
getFilterCount()
Public getter for the filter counter. |
int |
getProcessSkipCount()
Public getter for the process skip count. |
int |
getReadCount()
Public access to the read counter. |
int |
getReadSkipCount()
|
int |
getSkipCount()
|
int |
getStepSkipCount()
|
int |
getWriteCount()
Public access to the write counter. |
int |
getWriteSkipCount()
|
int |
hashCode()
|
void |
incrementFilterCount(int count)
Increment the counter for the number of items processed. |
void |
incrementProcessSkipCount()
|
void |
incrementReadCount()
Increment the counter for the number of items read. |
void |
incrementReadSkipCount()
Increment the read skip count for this contribution |
void |
incrementReadSkipCount(int count)
Increment the read skip count for this contribution |
void |
incrementWriteCount(int count)
Increment the counter for the number of items written. |
void |
incrementWriteSkipCount()
Increment the write skip count for this contribution |
void |
setExitStatus(ExitStatus status)
Set the ExitStatus for this contribution. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StepContribution(StepExecution execution)
execution
- Method Detail |
---|
public void setExitStatus(ExitStatus status)
ExitStatus
for this contribution.
status
- public ExitStatus getExitStatus()
ExitStatus
for this contributionpublic void incrementFilterCount(int count)
public void incrementReadCount()
public void incrementWriteCount(int count)
public int getReadCount()
public int getWriteCount()
public int getFilterCount()
public int getStepSkipCount()
StepExecution
and this StepContribution
.public int getSkipCount()
StepContribution
(not including skips accumulated in the
parent StepExecution
).public void incrementReadSkipCount()
public void incrementReadSkipCount(int count)
public void incrementWriteSkipCount()
public void incrementProcessSkipCount()
public int getReadSkipCount()
public int getWriteSkipCount()
public int getProcessSkipCount()
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |