| Package | Description | 
|---|---|
| org.apache.cassandra.locator | |
| org.apache.cassandra.net | |
| org.apache.cassandra.service | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> AbstractWriteResponseHandler<T> | AbstractReplicationStrategy. getWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints,
                       java.util.Collection<java.net.InetAddress> pendingEndpoints,
                       ConsistencyLevel consistency_level,
                       java.lang.Runnable callback,
                       WriteType writeType,
                       long queryStartNanoTime) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | MessagingService. sendRR(MessageOut<?> message,
      java.net.InetAddress to,
      AbstractWriteResponseHandler<?> handler,
      boolean allowHints)Send a mutation message or a Paxos Commit to a given endpoint. | 
| Modifier and Type | Class and Description | 
|---|---|
| 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  | WriteResponseHandler<T>Handles blocking writes for ONE, ANY, TWO, THREE, QUORUM, and ALL consistency levels. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AbstractWriteResponseHandler<IMutation> | StorageProxy. applyCounterMutationOnCoordinator(CounterMutation cm,
                                 java.lang.String localDataCenter,
                                 long queryStartNanoTime) | 
| static AbstractWriteResponseHandler<IMutation> | StorageProxy. applyCounterMutationOnLeader(CounterMutation cm,
                            java.lang.String localDataCenter,
                            java.lang.Runnable callback,
                            long queryStartNanoTime) | 
| static AbstractWriteResponseHandler<IMutation> | StorageProxy. mutateCounter(CounterMutation cm,
             java.lang.String localDataCenter,
             long queryStartNanoTime)Handle counter mutation on the coordinator host. | 
| static AbstractWriteResponseHandler<IMutation> | StorageProxy. performWrite(IMutation mutation,
            ConsistencyLevel consistency_level,
            java.lang.String localDataCenter,
            StorageProxy.WritePerformer performer,
            java.lang.Runnable callback,
            WriteType writeType,
            long queryStartNanoTime)Perform the write of a mutation given a WritePerformer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StorageProxy.WritePerformer. apply(IMutation mutation,
     java.lang.Iterable<java.net.InetAddress> targets,
     AbstractWriteResponseHandler<IMutation> responseHandler,
     java.lang.String localDataCenter,
     ConsistencyLevel consistencyLevel) | 
| static void | StorageProxy. sendToHintedEndpoints(Mutation mutation,
                     java.lang.Iterable<java.net.InetAddress> targets,
                     AbstractWriteResponseHandler<IMutation> responseHandler,
                     java.lang.String localDataCenter,
                     Stage stage)Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node
 is not available. | 
| static java.util.concurrent.Future<java.lang.Void> | StorageProxy. submitHint(Mutation mutation,
          java.util.Collection<java.net.InetAddress> targets,
          AbstractWriteResponseHandler<IMutation> responseHandler) | 
| static java.util.concurrent.Future<java.lang.Void> | StorageProxy. submitHint(Mutation mutation,
          java.net.InetAddress target,
          AbstractWriteResponseHandler<IMutation> responseHandler) | 
| Constructor and Description | 
|---|
| BatchlogResponseHandler(AbstractWriteResponseHandler<T> wrapped,
                       int requiredBeforeFinish,
                       BatchlogResponseHandler.BatchlogCleanup cleanup,
                       long queryStartNanoTime) | 
Copyright © 2018 The Apache Software Foundation