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 interfaceRequestCallbackWithFailure<T>Classes in org.apache.cassandra.net that implement RequestCallback Modifier and Type Class Description classAsyncOneResponse<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 RequestCallbackRequestCallbacks.CallbackInfo. callbackMethods in org.apache.cassandra.net with parameters of type RequestCallback Modifier and Type Method Description voidRequestCallbacks. addWithExpiration(RequestCallback<?> cb, Message<?> message, InetAddressAndPort to)Register the providedRequestCallback, inferring expiry and id from the providedMessage.voidLatencySubscribers. maybeAdd(RequestCallback cb, InetAddressAndPort address, long latency, java.util.concurrent.TimeUnit unit)Track latency information for the dynamic snitchvoidMessagingService. sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb)Send a non-mutation message to a given endpoint.voidMessagingService. sendWithCallback(Message message, InetAddressAndPort to, RequestCallback cb, ConnectionType specifyConnection) -
Uses of RequestCallback in org.apache.cassandra.service
Classes in org.apache.cassandra.service that implement RequestCallback Modifier and Type Class Description classAbstractWriteResponseHandler<T>classBatchlogResponseHandler<T>classDatacenterSyncWriteResponseHandler<T>This class blocks for a quorum of responses _in all datacenters_ (CL.EACH_QUORUM).classDatacenterWriteResponseHandler<T>This class blocks for a quorum of responses _in the local datacenter only_ (CL.LOCAL_QUORUM).classFailureRecordingCallback<T>classTruncateResponseHandlerclassWriteResponseHandler<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 classPaxosCommit<OnDone extends java.util.function.Consumer<? super org.apache.cassandra.service.paxos.PaxosCommit.Status>>classPaxosPreparePerform one paxos "prepare" attempt, with various optimisations.classPaxosPrepareRefreshNodes 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.classPaxosPropose<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.classPaxosRequestCallback<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 classPaxosCleanupCompleteclassPaxosCleanupSessionclassPaxosFinishPrepareCleanupclassPaxosStartPrepareCleanupDetermines 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 classAbstractPaxosCallback<T>classPrepareCallbackclassProposeCallbackProposeCallback 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 classReadCallback<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 classBlockingPartitionRepair
-