Package | Description |
---|---|
org.apache.cassandra.exceptions | |
org.apache.cassandra.net | |
org.apache.cassandra.repair | |
org.apache.cassandra.service |
Modifier and Type | Field and Description |
---|---|
static RequestFailureReason[] |
RequestFailureReason.VALUES |
Modifier and Type | Field and Description |
---|---|
java.util.Map<java.net.InetAddress,RequestFailureReason> |
RequestFailureException.failureReasonByEndpoint |
Modifier and Type | Method and Description |
---|---|
static RequestFailureReason |
RequestFailureReason.fromCode(int code) |
static RequestFailureReason |
RequestFailureReason.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RequestFailureReason[] |
RequestFailureReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ReadFailureException(ConsistencyLevel consistency,
int received,
int blockFor,
boolean dataPresent,
java.util.Map<java.net.InetAddress,RequestFailureReason> failureReasonByEndpoint) |
RequestFailureException(ExceptionCode code,
ConsistencyLevel consistency,
int received,
int blockFor,
java.util.Map<java.net.InetAddress,RequestFailureReason> failureReasonByEndpoint) |
WriteFailureException(ConsistencyLevel consistency,
int received,
int blockFor,
WriteType writeType,
java.util.Map<java.net.InetAddress,RequestFailureReason> failureReasonByEndpoint) |
Modifier and Type | Method and Description |
---|---|
RequestFailureReason |
MessageIn.getFailureReason() |
Modifier and Type | Method and Description |
---|---|
void |
IAsyncCallbackWithFailure.onFailure(java.net.InetAddress from,
RequestFailureReason failureReason)
Called when there is an exception on the remote node or timeout happens
|
Modifier and Type | Method and Description |
---|---|
void |
AnticompactionTask.AnticompactionCallback.onFailure(java.net.InetAddress from,
RequestFailureReason failureReason) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractWriteResponseHandler.onFailure(java.net.InetAddress from,
RequestFailureReason failureReason) |
void |
BatchlogResponseHandler.onFailure(java.net.InetAddress from,
RequestFailureReason failureReason) |
void |
ReadCallback.onFailure(java.net.InetAddress from,
RequestFailureReason failureReason) |
Copyright © 2009-2022 The Apache Software Foundation