org.mule.providers
Class SimpleRetryConnectionStrategy
java.lang.Object
org.mule.providers.AbstractConnectionStrategy
org.mule.providers.SimpleRetryConnectionStrategy
- All Implemented Interfaces:
- ConnectionStrategy
- public class SimpleRetryConnectionStrategy
- extends AbstractConnectionStrategy
A simple connection retry strategy where the a connection will be attempted X
number of retryCount every Y milliseconds. The retryCount and frequency
properties can be set to customise the behaviour.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRetryConnectionStrategy
public SimpleRetryConnectionStrategy()
doConnect
public void doConnect(UMOConnectable connectable)
throws FatalConnectException
- Specified by:
doConnect in class AbstractConnectionStrategy
- Throws:
FatalConnectException
resetState
public void resetState()
- Resets any state stored in the retry strategy
- Specified by:
resetState in class AbstractConnectionStrategy
getRetryCount
public int getRetryCount()
setRetryCount
public void setRetryCount(int retryCount)
getFrequency
public long getFrequency()
setFrequency
public void setFrequency(long frequency)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.