com.ibm.batch.container.impl
Class RetryHandler

java.lang.Object
  extended by com.ibm.batch.container.impl.RetryHandler

public class RetryHandler
extends Object


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 addRetryListener(RetryListenerProxy retryListener)
          Add the user-defined RetryListener.
 long getRetryCount()
           
 void handleNoRollbackExceptionRead(Exception e)
          Handle exception from a read failure.
 void handleNoRollbackExceptionWithRecordProcess(Exception e, Object w)
          Handle exception from a process failure.
 void handleNoRollbackExceptionWithRecordWriteItem(Exception e, Object w)
          Handle exception from a write failure.
 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

RETRY_COUNT

public static final String RETRY_COUNT
See Also:
Constant Field Values

RETRY_INCLUDE_EX

public static final String RETRY_INCLUDE_EX
See Also:
Constant Field Values

RETRY_EXCLUDE_EX

public static final String RETRY_EXCLUDE_EX
See Also:
Constant Field Values
Constructor Detail

RetryHandler

public RetryHandler(Chunk chunk,
                    long l,
                    String stepId)
Method Detail

addRetryListener

public void addRetryListener(RetryListenerProxy retryListener)
Add the user-defined RetryListener.


handleNoRollbackExceptionRead

public void handleNoRollbackExceptionRead(Exception e)
Handle exception from a read failure.


handleNoRollbackExceptionWithRecordProcess

public void handleNoRollbackExceptionWithRecordProcess(Exception e,
                                                       Object w)
Handle exception from a process failure.


handleNoRollbackExceptionWithRecordWriteItem

public void handleNoRollbackExceptionWithRecordWriteItem(Exception e,
                                                         Object w)
Handle exception from a write failure.


getRetryCount

public long getRetryCount()

setRetryCount

public void setRetryCount(long retryCount)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.