public abstract class JavaDriverBasedRetryPolicy
extends java.lang.Object
implements com.netflix.astyanax.retry.RetryPolicy
RetryPolicy implementation that want to use the retry policy from java driver.| Constructor and Description |
|---|
JavaDriverBasedRetryPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowRetry() |
void |
begin() |
com.netflix.astyanax.retry.RetryPolicy |
duplicate() |
void |
failure(java.lang.Exception e) |
int |
getAttemptCount() |
abstract com.datastax.driver.core.policies.RetryPolicy |
getJDRetryPolicy() |
void |
success() |
public void begin()
begin in interface com.netflix.astyanax.retry.RetryPolicypublic void success()
success in interface com.netflix.astyanax.retry.RetryPolicypublic void failure(java.lang.Exception e)
failure in interface com.netflix.astyanax.retry.RetryPolicypublic boolean allowRetry()
allowRetry in interface com.netflix.astyanax.retry.RetryPolicypublic int getAttemptCount()
getAttemptCount in interface com.netflix.astyanax.retry.RetryPolicypublic com.netflix.astyanax.retry.RetryPolicy duplicate()
duplicate in interface com.netflix.astyanax.retry.RetryPolicypublic abstract com.datastax.driver.core.policies.RetryPolicy getJDRetryPolicy()