## Uses of Classcom.datastax.driver.core.WriteType

• Packages that use WriteType
Package Description
com.datastax.driver.core
The main package for the DataStax Java driver for Cassandra.
com.datastax.driver.core.exceptions
Exceptions thrown by the DataStax Java driver for Cassandra.
com.datastax.driver.core.policies
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
• ### Uses of WriteType in com.datastax.driver.core

Methods in com.datastax.driver.core that return WriteType
Modifier and Type Method and Description
static WriteType WriteType.valueOf(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.
• ### Uses of WriteType in com.datastax.driver.core.exceptions

Methods in com.datastax.driver.core.exceptions that return WriteType
Modifier and Type Method and Description
WriteType WriteTimeoutException.getWriteType()
The type of the write for which a timeout was raised.
Constructors in com.datastax.driver.core.exceptions with parameters of type WriteType
Constructor and Description
WriteTimeoutException(ConsistencyLevel consistency, WriteType writeType, int received, int required)
This constructor should only be used internally by the driver when decoding error responses.
WriteTimeoutException(InetSocketAddress address, ConsistencyLevel consistency, WriteType writeType, int received, int required)
• ### Uses of WriteType in com.datastax.driver.core.policies

Methods in com.datastax.driver.core.policies with parameters of type WriteType
Modifier and Type Method and Description
RetryPolicy.RetryDecision RetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
Defines whether to retry and at which consistency level on a write timeout.
RetryPolicy.RetryDecision LoggingRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
RetryPolicy.RetryDecision IdempotenceAwareRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
RetryPolicy.RetryDecision FallthroughRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
Defines whether to retry and at which consistency level on a write timeout.
RetryPolicy.RetryDecision DowngradingConsistencyRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
Defines whether to retry and at which consistency level on a write timeout.
RetryPolicy.RetryDecision DefaultRetryPolicy.onWriteTimeout(Statement statement, ConsistencyLevel cl, WriteType writeType, int requiredAcks, int receivedAcks, int nbRetry)
Defines whether to retry and at which consistency level on a write timeout.