|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SkipListener
Interface for listener to skipped items. Callbacks will be called by
Step
implementations at the appropriate time in the step lifecycle.
Callbacks must always be made (where relevant) in a transaction that is still
valid: i.e. possibly on a read error, but not on a write error.
Method Summary | |
---|---|
void |
onSkipInRead(Throwable t)
Callback for a failure on read that is legal, so is not going to be re-thrown. |
void |
onSkipInWrite(Object item,
Throwable t)
This item failed on write with the given exception, and a skip was called for. |
Method Detail |
---|
void onSkipInRead(Throwable t)
t
- void onSkipInWrite(Object item, Throwable t)
item
- the failed itemt
- the cause of the failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |