Uses of Interface
org.apache.cassandra.net.RequestCallback
-
-
Uses of RequestCallback in org.apache.cassandra.net
Subinterfaces of RequestCallback in org.apache.cassandra.net Modifier and Type Interface Description interface
RequestCallbackWithFailure<T>
Classes in org.apache.cassandra.net that implement RequestCallback Modifier and Type Class 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.Fields in org.apache.cassandra.net declared as RequestCallback Modifier and Type Field Description RequestCallback
RequestCallbacks.CallbackInfo. callback
Methods in org.apache.cassandra.net with parameters of type RequestCallback Modifier and Type Method Description void
RequestCallbacks. addWithExpiration(RequestCallback<?> cb, Message<?> message, InetAddressAndPort to)
Register the providedRequestCallback
, inferring expiry and id from the providedMessage
.void
LatencySubscribers. maybeAdd(RequestCallback cb, InetAddressAndPort address, long latency, java.util.concurrent.TimeUnit unit)
Track latency information for the dynamic snitch<REQ,RSP>
voidMessageDelivery. sendWithCallback(Message<REQ> message, InetAddressAndPort to, RequestCallback<RSP> cb)
<REQ,RSP>
voidMessageDelivery. sendWithCallback(Message<REQ> message, InetAddressAndPort to, RequestCallback<RSP> cb, ConnectionType specifyConnection)
void
MessagingService. sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb)
Send a non-mutation message to a given endpoint.void
MessagingService. sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb, ConnectionType specifyConnection)
-
Uses of RequestCallback in org.apache.cassandra.repair.messages
Fields in org.apache.cassandra.repair.messages declared as RequestCallback Modifier and Type Field Description static RequestCallback<java.lang.Object>
RepairMessage. NOOP_CALLBACK
Methods in org.apache.cassandra.repair.messages with parameters of type RequestCallback Modifier and Type Method Description static <T> void
RepairMessage. sendMessageWithRetries(SharedContext ctx, java.util.function.Supplier<java.lang.Boolean> allowRetry, RepairMessage request, Verb verb, InetAddressAndPort endpoint, RequestCallback<T> finalCallback)
static <T> void
RepairMessage. sendMessageWithRetries(SharedContext ctx, RepairMessage request, Verb verb, InetAddressAndPort endpoint, RequestCallback<T> finalCallback)
-
Uses of RequestCallback in org.apache.cassandra.service
Classes in org.apache.cassandra.service that implement RequestCallback Modifier and Type Class Description class
AbstractWriteResponseHandler<T>
class
BatchlogResponseHandler<T>
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
FailureRecordingCallback<T>
class
TruncateResponseHandler
class
WriteResponseHandler<T>
Handles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels. -
Uses of RequestCallback in org.apache.cassandra.service.paxos
Classes in org.apache.cassandra.service.paxos that implement RequestCallback Modifier and Type Class Description class
PaxosCommit<OnDone extends java.util.function.Consumer<? super org.apache.cassandra.service.paxos.PaxosCommit.Status>>
class
PaxosPrepare
Perform one paxos "prepare" attempt, with various optimisations.class
PaxosPrepareRefresh
Nodes that have promised in response to our prepare, may be missing the latestCommit, meaning we cannot be sure the prior round has been committed to the necessary quorum of participants, so that it will be visible to future quorums.class
PaxosPropose<OnDone extends java.util.function.Consumer<? super org.apache.cassandra.service.paxos.PaxosPropose.Status>>
In waitForNoSideEffect mode, we will not return failure to the caller until we have received a complete set of refusal responses, or at least one accept, indicating (respectively) that we have had no side effect, or that we cannot know if we our proposal produced a side effect.class
PaxosRequestCallback<T>
-
Uses of RequestCallback in org.apache.cassandra.service.paxos.cleanup
Classes in org.apache.cassandra.service.paxos.cleanup that implement RequestCallback Modifier and Type Class Description class
PaxosCleanupComplete
class
PaxosCleanupSession
class
PaxosFinishPrepareCleanup
class
PaxosStartPrepareCleanup
Determines the highest ballot we should attempt to repair -
Uses of RequestCallback in org.apache.cassandra.service.paxos.v1
Classes in org.apache.cassandra.service.paxos.v1 that implement RequestCallback Modifier and Type Class Description class
AbstractPaxosCallback<T>
class
PrepareCallback
class
ProposeCallback
ProposeCallback has two modes of operation, controlled by the failFast parameter. -
Uses of RequestCallback in org.apache.cassandra.service.reads
Classes in org.apache.cassandra.service.reads that implement RequestCallback Modifier and Type Class Description class
ReadCallback<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E,P>>
-
Uses of RequestCallback in org.apache.cassandra.service.reads.repair
Classes in org.apache.cassandra.service.reads.repair that implement RequestCallback Modifier and Type Class Description class
BlockingPartitionRepair
-