Package | Description |
---|---|
org.apache.cassandra.service |
Modifier and Type | Method and Description |
---|---|
void |
StorageProxy.WritePerformer.apply(IMutation mutation,
ReplicaPlan.ForWrite targets,
AbstractWriteResponseHandler<IMutation> responseHandler,
java.lang.String localDataCenter,
Dispatcher.RequestTime requestTime) |
static AbstractWriteResponseHandler<IMutation> |
StorageProxy.applyCounterMutationOnCoordinator(CounterMutation cm,
java.lang.String localDataCenter,
Dispatcher.RequestTime requestTime) |
static AbstractWriteResponseHandler<IMutation> |
StorageProxy.applyCounterMutationOnLeader(CounterMutation cm,
java.lang.String localDataCenter,
java.lang.Runnable callback,
Dispatcher.RequestTime requestTime) |
static void |
StorageProxy.mutate(java.util.List<? extends IMutation> mutations,
ConsistencyLevel consistencyLevel,
Dispatcher.RequestTime requestTime)
Use this method to have these Mutations applied
across all replicas.
|
static void |
StorageProxy.mutateAtomically(java.util.Collection<Mutation> mutations,
ConsistencyLevel consistency_level,
boolean requireQuorumForRemove,
Dispatcher.RequestTime requestTime)
See mutate.
|
static AbstractWriteResponseHandler<IMutation> |
StorageProxy.mutateCounter(CounterMutation cm,
java.lang.String localDataCenter,
Dispatcher.RequestTime requestTime)
Handle counter mutation on the coordinator host.
|
static void |
StorageProxy.mutateMV(java.nio.ByteBuffer dataKey,
java.util.Collection<Mutation> mutations,
boolean writeCommitLog,
java.util.concurrent.atomic.AtomicLong baseComplete,
Dispatcher.RequestTime requestTime)
Use this method to have these Mutations applied
across all replicas.
|
static void |
StorageProxy.mutateWithTriggers(java.util.List<? extends IMutation> mutations,
ConsistencyLevel consistencyLevel,
boolean mutateAtomically,
Dispatcher.RequestTime requestTime) |
static void |
StorageProxy.sendToHintedReplicas(Mutation mutation,
ReplicaPlan.ForWrite plan,
AbstractWriteResponseHandler<IMutation> responseHandler,
java.lang.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.
|
Copyright © 2009- The Apache Software Foundation