Class StaticRetryConfiguration
- java.lang.Object
-
- ch.systemsx.cisd.common.api.retry.config.StaticRetryConfiguration
-
- All Implemented Interfaces:
RetryConfiguration
- Direct Known Subclasses:
DefaultRetryConfiguration
public class StaticRetryConfiguration extends java.lang.Object implements RetryConfiguration
-
-
Constructor Summary
Constructors Constructor Description StaticRetryConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaximumNumberOfRetries()
int
getWaitingTimeBetweenRetries()
float
getWaitingTimeBetweenRetriesIncreasingFactor()
void
setMaximumNumberOfRetries(int maximumNumberOfRetries)
void
setWaitingTimeBetweenRetries(int waitingTimeBetweenRetries)
void
setWaitingTimeBetweenRetriesIncreasingFactor(float waitingTimeBetweenRetriesIncreasingFactor)
-
-
-
Method Detail
-
getMaximumNumberOfRetries
public int getMaximumNumberOfRetries()
- Specified by:
getMaximumNumberOfRetries
in interfaceRetryConfiguration
-
setMaximumNumberOfRetries
public void setMaximumNumberOfRetries(int maximumNumberOfRetries)
-
getWaitingTimeBetweenRetries
public int getWaitingTimeBetweenRetries()
- Specified by:
getWaitingTimeBetweenRetries
in interfaceRetryConfiguration
-
setWaitingTimeBetweenRetries
public void setWaitingTimeBetweenRetries(int waitingTimeBetweenRetries)
-
getWaitingTimeBetweenRetriesIncreasingFactor
public float getWaitingTimeBetweenRetriesIncreasingFactor()
- Specified by:
getWaitingTimeBetweenRetriesIncreasingFactor
in interfaceRetryConfiguration
-
setWaitingTimeBetweenRetriesIncreasingFactor
public void setWaitingTimeBetweenRetriesIncreasingFactor(float waitingTimeBetweenRetriesIncreasingFactor)
-
-