public class CompositeRetryWriteListener
extends java.lang.Object
implements javax.batch.api.chunk.listener.RetryWriteListener
Composite class holding RetryWriteListener
's.
Constructor and Description |
---|
CompositeRetryWriteListener() |
Modifier and Type | Method and Description |
---|---|
void |
onRetryWriteException(java.util.List<java.lang.Object> items,
java.lang.Exception ex) |
void |
register(javax.batch.api.chunk.listener.RetryWriteListener listener)
Register an additional
RetryWriteListener . |
void |
setListeners(java.util.List<? extends javax.batch.api.chunk.listener.RetryWriteListener> listeners)
Public setter for the
RetryWriteListener 's. |
public void setListeners(java.util.List<? extends javax.batch.api.chunk.listener.RetryWriteListener> listeners)
Public setter for the RetryWriteListener
's.
listeners
- the RetryWriteListener
's to setpublic void register(javax.batch.api.chunk.listener.RetryWriteListener listener)
Register an additional RetryWriteListener
.
listener
- the RetryWriteListener
to registerpublic void onRetryWriteException(java.util.List<java.lang.Object> items, java.lang.Exception ex) throws java.lang.Exception
onRetryWriteException
in interface javax.batch.api.chunk.listener.RetryWriteListener
java.lang.Exception