public enum RequestFailureReason extends java.lang.Enum<RequestFailureReason>
| Enum Constant and Description | 
|---|
| READ_TOO_MANY_TOMBSTONESThe data node read too many tombstones when attempting to execute a read query (see tombstone_failure_threshold). | 
| UNKNOWNThe reason for the failure was none of the below reasons or was not recorded by the data node. | 
| Modifier and Type | Field and Description | 
|---|---|
| int | codeThe code to be serialized as an unsigned 16 bit integer | 
| static RequestFailureReason[] | VALUES | 
| Modifier and Type | Method and Description | 
|---|---|
| static RequestFailureReason | fromCode(int code) | 
| static RequestFailureReason | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RequestFailureReason[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RequestFailureReason UNKNOWN
public static final RequestFailureReason READ_TOO_MANY_TOMBSTONES
public final int code
public static final RequestFailureReason[] VALUES
public static RequestFailureReason[] values()
for (RequestFailureReason c : RequestFailureReason.values()) System.out.println(c);
public static RequestFailureReason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static RequestFailureReason fromCode(int code)
Copyright © 2018 The Apache Software Foundation