| Package | Description | 
|---|---|
| org.apache.cassandra.db | |
| org.apache.cassandra.exceptions | |
| org.apache.cassandra.locator | |
| org.apache.cassandra.service | 
| Modifier and Type | Method and Description | 
|---|---|
| static WriteType | WriteType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static WriteType[] | WriteType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Field and Description | 
|---|---|
| WriteType | WriteFailureException. writeType | 
| WriteType | WriteTimeoutException. writeType | 
| Constructor and Description | 
|---|
| WriteFailureException(ConsistencyLevel consistency,
                     int received,
                     int blockFor,
                     WriteType writeType,
                     java.util.Map<java.net.InetAddress,RequestFailureReason> failureReasonByEndpoint) | 
| WriteTimeoutException(WriteType writeType,
                     ConsistencyLevel consistency,
                     int received,
                     int blockFor) | 
| 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 | Field and Description | 
|---|---|
| protected WriteType | AbstractWriteResponseHandler. writeType | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Constructor and Description | 
|---|
| AbstractWriteResponseHandler(Keyspace keyspace,
                            java.util.Collection<java.net.InetAddress> naturalEndpoints,
                            java.util.Collection<java.net.InetAddress> pendingEndpoints,
                            ConsistencyLevel consistencyLevel,
                            java.lang.Runnable callback,
                            WriteType writeType,
                            long queryStartNanoTime) | 
| DatacenterSyncWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints,
                                  java.util.Collection<java.net.InetAddress> pendingEndpoints,
                                  ConsistencyLevel consistencyLevel,
                                  Keyspace keyspace,
                                  java.lang.Runnable callback,
                                  WriteType writeType,
                                  long queryStartNanoTime) | 
| DatacenterWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints,
                              java.util.Collection<java.net.InetAddress> pendingEndpoints,
                              ConsistencyLevel consistencyLevel,
                              Keyspace keyspace,
                              java.lang.Runnable callback,
                              WriteType writeType,
                              long queryStartNanoTime) | 
| WriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints,
                    java.util.Collection<java.net.InetAddress> pendingEndpoints,
                    ConsistencyLevel consistencyLevel,
                    Keyspace keyspace,
                    java.lang.Runnable callback,
                    WriteType writeType,
                    long queryStartNanoTime) | 
| WriteResponseHandler(java.net.InetAddress endpoint,
                    WriteType writeType,
                    long queryStartNanoTime) | 
| WriteResponseHandler(java.net.InetAddress endpoint,
                    WriteType writeType,
                    java.lang.Runnable callback,
                    long queryStartNanoTime) | 
Copyright © 2018 The Apache Software Foundation