RetryPolicy.@Deprecated public enum RetryPolicy extends Enum<RetryPolicy>
policies that come with the driver.| Enum Constant and Description |
|---|
DEFAULT
Deprecated.
|
DOWNGRADING_CONSISTENCY
Deprecated.
|
FALLTHROUGH
Deprecated.
|
LOGGING
Deprecated.
The
LoggingRetryPolicy is just a decorator for other policies so it can't
be applied to QueryOptions/WriteOptions |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RetryPolicy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetryPolicy DEFAULT
public static final RetryPolicy DOWNGRADING_CONSISTENCY
public static final RetryPolicy FALLTHROUGH
public static final RetryPolicy LOGGING
LoggingRetryPolicy is just a decorator for other policies so it can't
be applied to QueryOptions/WriteOptionspublic static RetryPolicy[] values()
for (RetryPolicy c : RetryPolicy.values()) System.out.println(c);
public static RetryPolicy 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 nullCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.