Class SkipListenerSupport<T,S>
java.lang.Object
org.springframework.batch.core.listener.SkipListenerSupport<T,S>
- All Implemented Interfaces:
SkipListener<T,,S> StepListener
Deprecated.
Basic no-op implementations of all
SkipListener implementations.- Author:
- Dave Syer, Mahmoud Ben Hassine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSkipInProcess(T item, Throwable t) Deprecated.This item failed on processing with the given exception, and a skip was called for.voidDeprecated.Callback for a failure on read that is legal and, consequently, is not going to be re-thrown.voidonSkipInWrite(S item, Throwable t) Deprecated.This item failed on write with the given exception, and a skip was called for.
-
Constructor Details
-
SkipListenerSupport
public SkipListenerSupport()Deprecated.
-
-
Method Details
-
onSkipInRead
Deprecated.Description copied from interface:SkipListenerCallback for a failure on read that is legal and, consequently, is not going to be re-thrown. In case a transaction is rolled back and items are re-read, this callback occurs repeatedly for the same cause. This happens only if read items are not buffered.- Specified by:
onSkipInReadin interfaceSkipListener<T,S> - Parameters:
t- cause of the failure
-
onSkipInWrite
Deprecated.Description copied from interface:SkipListenerThis item failed on write with the given exception, and a skip was called for.- Specified by:
onSkipInWritein interfaceSkipListener<T,S> - Parameters:
item- the failed itemt- the cause of the failure
-
onSkipInProcess
Deprecated.Description copied from interface:SkipListenerThis item failed on processing with the given exception, and a skip was called for.- Specified by:
onSkipInProcessin interfaceSkipListener<T,S> - Parameters:
item- the failed itemt- the cause of the failure
-
SkipListener.