|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.jbatch.container.impl.RetryHandler
public class RetryHandler
| Field Summary | |
|---|---|
static String |
RETRY_COUNT
|
static String |
RETRY_EXCLUDE_EX
|
static String |
RETRY_INCLUDE_EX
|
| Constructor Summary | |
|---|---|
RetryHandler(Chunk chunk,
long l,
String stepId)
|
|
| Method Summary | |
|---|---|
void |
addRetryProcessListener(List<RetryProcessListenerProxy> retryProcessListeners)
Add the user-defined RetryProcessListener. |
void |
addRetryReadListener(List<RetryReadListenerProxy> retryReadListeners)
Add the user-defined RetryReadListener. |
void |
addRetryWriteListener(List<RetryWriteListenerProxy> retryWriteListeners)
Add the user-defined RetryWriteListener. |
Exception |
getException()
|
long |
getRetryCount()
|
void |
handleExceptionProcess(Exception e,
Object w)
Handle exception from a process failure. |
void |
handleExceptionRead(Exception e)
Handle exception from a read failure. |
void |
handleExceptionWrite(Exception e,
List<Object> w)
Handle exception from a write failure. |
boolean |
isRollbackException(Exception e)
|
void |
setRetryCount(long retryCount)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String RETRY_COUNT
public static final String RETRY_INCLUDE_EX
public static final String RETRY_EXCLUDE_EX
| Constructor Detail |
|---|
public RetryHandler(Chunk chunk,
long l,
String stepId)
| Method Detail |
|---|
public void addRetryProcessListener(List<RetryProcessListenerProxy> retryProcessListeners)
public void addRetryReadListener(List<RetryReadListenerProxy> retryReadListeners)
public void addRetryWriteListener(List<RetryWriteListenerProxy> retryWriteListeners)
public boolean isRollbackException(Exception e)
public void handleExceptionRead(Exception e)
public void handleExceptionProcess(Exception e,
Object w)
public void handleExceptionWrite(Exception e,
List<Object> w)
public Exception getException()
public long getRetryCount()
public void setRetryCount(long retryCount)
public String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||