com.datastax.driver.core.policies
Enum RetryPolicy.RetryDecision.Type
java.lang.Object
java.lang.Enum<RetryPolicy.RetryDecision.Type>
com.datastax.driver.core.policies.RetryPolicy.RetryDecision.Type
- All Implemented Interfaces:
- Serializable, Comparable<RetryPolicy.RetryDecision.Type>
- Enclosing class:
- RetryPolicy.RetryDecision
public static enum RetryPolicy.RetryDecision.Type
- extends Enum<RetryPolicy.RetryDecision.Type>
The type of retry decisions.
RETRY
public static final RetryPolicy.RetryDecision.Type RETRY
RETHROW
public static final RetryPolicy.RetryDecision.Type RETHROW
IGNORE
public static final RetryPolicy.RetryDecision.Type IGNORE
values
public static RetryPolicy.RetryDecision.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RetryPolicy.RetryDecision.Type c : RetryPolicy.RetryDecision.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RetryPolicy.RetryDecision.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013. All Rights Reserved.