Package | Description |
---|---|
org.apache.cassandra.exceptions | |
org.apache.cassandra.net | |
org.apache.cassandra.service | |
org.apache.cassandra.service.paxos | |
org.apache.cassandra.service.reads |
Modifier and Type | Field and Description |
---|---|
java.util.Map<InetAddressAndPort,RequestFailureReason> |
RequestFailureException.failureReasonByEndpoint |
Modifier and Type | Method and Description |
---|---|
RequestFailureReason |
RequestFailureReason.Serializer.deserialize(DataInputPlus in,
int version) |
static RequestFailureReason |
RequestFailureReason.forException(java.lang.Throwable t) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestFailureReason.Serializer.serialize(RequestFailureReason reason,
DataOutputPlus out,
int version) |
long |
RequestFailureReason.Serializer.serializedSize(RequestFailureReason reason,
int version) |
Constructor and Description |
---|
ReadFailureException(ConsistencyLevel consistency,
int received,
int blockFor,
boolean dataPresent,
java.util.Map<InetAddressAndPort,RequestFailureReason> failureReasonByEndpoint) |
RequestFailureException(ExceptionCode code,
ConsistencyLevel consistency,
int received,
int blockFor,
java.util.Map<InetAddressAndPort,RequestFailureReason> failureReasonByEndpoint) |
WriteFailureException(ConsistencyLevel consistency,
int received,
int blockFor,
WriteType writeType,
java.util.Map<InetAddressAndPort,RequestFailureReason> failureReasonByEndpoint) |
Modifier and Type | Method and Description |
---|---|
Message<RequestFailureReason> |
Message.failureResponse(RequestFailureReason reason)
Builds a failure response Message with an explicit reason, and fields inferred from request Message
|
Modifier and Type | Method and Description |
---|---|
Message<RequestFailureReason> |
Message.failureResponse(RequestFailureReason reason)
Builds a failure response Message with an explicit reason, and fields inferred from request Message
|
default void |
RequestCallback.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason)
Called when there is an exception on the remote node or timeout happens
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractWriteResponseHandler.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason) |
void |
BatchlogResponseHandler.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason) |
void |
TruncateResponseHandler.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPaxosCallback.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason) |
Modifier and Type | Method and Description |
---|---|
void |
ReadCallback.onFailure(InetAddressAndPort from,
RequestFailureReason failureReason) |
Copyright © 2009- The Apache Software Foundation