Uses of Class
org.apache.cassandra.service.AbstractWriteResponseHandler
Packages that use AbstractWriteResponseHandler
Package
Description
-
Uses of AbstractWriteResponseHandler in org.apache.cassandra.locator
Methods in org.apache.cassandra.locator that return AbstractWriteResponseHandlerModifier and TypeMethodDescription<T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy.getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime) <T> AbstractWriteResponseHandler<T>AbstractReplicationStrategy.getWriteResponseHandler(ReplicaPlan.ForWrite replicaPlan, Runnable callback, WriteType writeType, Supplier<Mutation> hintOnFailure, Dispatcher.RequestTime requestTime, ConsistencyLevel idealConsistencyLevel) -
Uses of AbstractWriteResponseHandler in org.apache.cassandra.net
Methods in org.apache.cassandra.net with parameters of type AbstractWriteResponseHandlerModifier and TypeMethodDescriptionvoidRequestCallbacks.addWithExpiration(AbstractWriteResponseHandler<?> cb, Message<?> message, Replica to) voidMessagingService.sendWriteWithCallback(Message message, Replica to, AbstractWriteResponseHandler<?> handler) Send a mutation message or a Paxos Commit to a given endpoint. -
Uses of AbstractWriteResponseHandler in org.apache.cassandra.service
Subclasses of AbstractWriteResponseHandler in org.apache.cassandra.serviceModifier and TypeClassDescriptionclassclassThis class blocks for a quorum of responses _in all datacenters_ (CL.EACH_QUORUM).classThis class blocks for a quorum of responses _in the local datacenter only_ (CL.LOCAL_QUORUM).classHandles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels.Methods in org.apache.cassandra.service that return AbstractWriteResponseHandlerModifier and TypeMethodDescriptionStorageProxy.applyCounterMutationOnCoordinator(CounterMutation cm, String localDataCenter, Dispatcher.RequestTime requestTime) StorageProxy.applyCounterMutationOnLeader(CounterMutation cm, String localDataCenter, Runnable callback, Dispatcher.RequestTime requestTime) StorageProxy.mutateCounter(CounterMutation cm, String localDataCenter, Dispatcher.RequestTime requestTime) Handle counter mutation on the coordinator host.StorageProxy.performWrite(IMutation mutation, ConsistencyLevel consistencyLevel, String localDataCenter, StorageProxy.WritePerformer performer, Runnable callback, WriteType writeType, Dispatcher.RequestTime requestTime) Perform the write of a mutation given a WritePerformer.Methods in org.apache.cassandra.service with parameters of type AbstractWriteResponseHandlerModifier and TypeMethodDescriptionvoidStorageProxy.WritePerformer.apply(IMutation mutation, ReplicaPlan.ForWrite targets, AbstractWriteResponseHandler<IMutation> responseHandler, String localDataCenter, Dispatcher.RequestTime requestTime) static voidStorageProxy.sendToHintedReplicas(Mutation mutation, ReplicaPlan.ForWrite plan, AbstractWriteResponseHandler<IMutation> responseHandler, String localDataCenter, Stage stage, Dispatcher.RequestTime requestTime) Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node is not available.voidAbstractWriteResponseHandler.setIdealCLResponseHandler(AbstractWriteResponseHandler handler) Set a delegate ideal CL write response handler.static voidStorageProxy.submitHint(Mutation mutation, Replica target, AbstractWriteResponseHandler<IMutation> responseHandler) Constructors in org.apache.cassandra.service with parameters of type AbstractWriteResponseHandlerModifierConstructorDescriptionBatchlogResponseHandler(AbstractWriteResponseHandler<T> wrapped, int requiredBeforeFinish, BatchlogResponseHandler.BatchlogCleanup cleanup, Dispatcher.RequestTime requestTime)