|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ca.jcs.cfg.ExceptionRetryGroup
public class ExceptionRetryGroup
This class is used to groups of exceptions based on their messages, so that separate retry settings can be configured for them.
RetryOpProcessorProxy| Field Summary | |
|---|---|
static String |
BUSY_RETRY_GROUP
|
static String |
NORMAL_RETRY_GROUP
Standard retry group names. |
static String |
STALE_RETRY_GROUP
|
| Constructor Summary | |
|---|---|
ExceptionRetryGroup()
|
|
| Method Summary | |
|---|---|
String |
getDisplayLogMessage()
Specifies message to be logged when exception matching this group is encountered. |
Collection<String> |
getExceptionMessages()
Get strings that are searched for anywhere in exception messages. |
int |
getResilientDelay()
Specifies delay between a failed retry attempt and the next one. |
int |
getResilientMaxRetries()
Specifies maximum number of times to retry before giving up. |
String |
getTag()
Tag indicating purpose of this group, defaults to "RetryOpProcessorProxy" if not specified. |
void |
setDisplayLogMessage(String displayLogMessage)
|
void |
setExceptionMessages(Collection<String> exceptionMessages)
|
void |
setResilientDelay(int resilientDelay)
|
void |
setResilientMaxRetries(int resilientMaxRetries)
|
void |
setTag(String name)
|
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 NORMAL_RETRY_GROUP
public static final String STALE_RETRY_GROUP
public static final String BUSY_RETRY_GROUP
| Constructor Detail |
|---|
public ExceptionRetryGroup()
| Method Detail |
|---|
public Collection<String> getExceptionMessages()
public void setExceptionMessages(Collection<String> exceptionMessages)
public String getTag()
public void setTag(String name)
public int getResilientDelay()
public void setResilientDelay(int resilientDelay)
public int getResilientMaxRetries()
public void setResilientMaxRetries(int resilientMaxRetries)
public String getDisplayLogMessage()
public void setDisplayLogMessage(String displayLogMessage)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||