|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.astyanax.retry.SleepingRetryPolicy
com.netflix.astyanax.retry.ConstantBackoff
public class ConstantBackoff
| Constructor Summary | |
|---|---|
ConstantBackoff(int sleepTimeMs,
int max)
|
|
| Method Summary | |
|---|---|
RetryPolicy |
duplicate()
Duplicate this policy into a fresh instance |
long |
getSleepTimeMs()
|
java.lang.String |
toString()
|
| Methods inherited from class com.netflix.astyanax.retry.SleepingRetryPolicy |
|---|
allowRetry, begin, failure, getAttemptCount, getMax, getMaxAttemptCount, success |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantBackoff(int sleepTimeMs,
int max)
| Method Detail |
|---|
public long getSleepTimeMs()
getSleepTimeMs in class SleepingRetryPolicypublic RetryPolicy duplicate()
RetryPolicy
public java.lang.String toString()
toString in class SleepingRetryPolicy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||