Package | Description |
---|---|
org.apache.cassandra.net | |
org.apache.cassandra.repair | |
org.apache.cassandra.service | |
org.apache.cassandra.service.paxos |
Modifier and Type | Interface and Description |
---|---|
interface |
IAsyncCallbackWithFailure<T> |
Modifier and Type | Class and Description |
---|---|
class |
AsyncOneResponse<T>
A callback specialized for returning a value from a single target; that is, this is for messages
that we only send to one recipient.
|
Modifier and Type | Field and Description |
---|---|
protected IAsyncCallback |
CallbackInfo.callback |
Modifier and Type | Method and Description |
---|---|
int |
MessagingService.addCallback(IAsyncCallback cb,
MessageOut<?> message,
java.net.InetAddress to,
long timeout,
ConsistencyLevel consistencyLevel,
boolean allowHints) |
int |
MessagingService.addCallback(IAsyncCallback cb,
MessageOut message,
java.net.InetAddress to,
long timeout,
boolean failureCallback) |
void |
MessagingService.maybeAddLatency(IAsyncCallback cb,
java.net.InetAddress address,
long latency)
Track latency information for the dynamic snitch
|
int |
MessagingService.sendRR(MessageOut message,
java.net.InetAddress to,
IAsyncCallback cb) |
int |
MessagingService.sendRR(MessageOut message,
java.net.InetAddress to,
IAsyncCallback cb,
long timeout,
boolean failureCallback)
Send a non-mutation message to a given endpoint.
|
Constructor and Description |
---|
CallbackInfo(java.net.InetAddress target,
IAsyncCallback callback,
IVersionedSerializer<?> serializer,
boolean failureCallback)
Create CallbackInfo without sent message
|
WriteCallbackInfo(java.net.InetAddress target,
IAsyncCallback callback,
MessageOut message,
IVersionedSerializer<?> serializer,
ConsistencyLevel consistencyLevel,
boolean allowHints) |
Modifier and Type | Class and Description |
---|---|
class |
AnticompactionTask.AnticompactionCallback
Callback for antitcompaction request.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWriteResponseHandler<T> |
class |
AsyncRepairCallback |
class |
DatacenterSyncWriteResponseHandler<T>
This class blocks for a quorum of responses _in all datacenters_ (CL.EACH_QUORUM).
|
class |
DatacenterWriteResponseHandler<T>
This class blocks for a quorum of responses _in the local datacenter only_ (CL.LOCAL_QUORUM).
|
class |
ReadCallback<TMessage,TResolved> |
class |
TruncateResponseHandler |
class |
WriteResponseHandler<T>
Handles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPaxosCallback<T> |
class |
PrepareCallback |
class |
ProposeCallback
ProposeCallback has two modes of operation, controlled by the failFast parameter.
|
Copyright © 2019 The Apache Software Foundation