public enum RetryPolicyType extends Enum<RetryPolicyType>
| Enum Constant and Description |
|---|
BACKOFF |
DEFAULT |
DOWNGRADING_CONSISTENCY |
FALLTHROUGH |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.policies.RetryPolicy |
getPolicy() |
static RetryPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryPolicyType DEFAULT
public static final RetryPolicyType BACKOFF
public static final RetryPolicyType DOWNGRADING_CONSISTENCY
public static final RetryPolicyType FALLTHROUGH
public static RetryPolicyType[] values()
for (RetryPolicyType c : RetryPolicyType.values()) System.out.println(c);
public static RetryPolicyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.datastax.driver.core.policies.RetryPolicy getPolicy()
Copyright © 2012–2021. All rights reserved.