public class SimpleRetryPolicyTemplate extends AbstractPolicyTemplate
Modifier and Type | Field and Description |
---|---|
protected int |
count |
static int |
DEFAULT_FREQUENCY |
static int |
DEFAULT_RETRY_COUNT |
protected long |
frequency |
protected Log |
logger
logger used by this class
|
static int |
RETRY_COUNT_FOREVER |
notifier
Constructor and Description |
---|
SimpleRetryPolicyTemplate() |
SimpleRetryPolicyTemplate(long frequency,
int retryCount) |
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
createRetryInstance() |
int |
getCount() |
long |
getFrequency() |
void |
setCount(int count) |
void |
setFrequency(long frequency) |
String |
toString() |
execute, getMetaInfo, getNotifier, setId, setMetaInfo, setMuleContext, setNotifier
protected final transient Log logger
public static final int DEFAULT_FREQUENCY
public static final int DEFAULT_RETRY_COUNT
public static final int RETRY_COUNT_FOREVER
protected volatile int count
protected volatile long frequency
public SimpleRetryPolicyTemplate()
public SimpleRetryPolicyTemplate(long frequency, int retryCount)
public long getFrequency()
public int getCount()
public void setFrequency(long frequency)
public void setCount(int count)
public RetryPolicy createRetryInstance()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.