Class CassandraReadTimeoutException

All Implemented Interfaces:
Serializable

public class CassandraReadTimeoutException extends QueryTimeoutException
Cassandra-specific exception for a server-side timeout during a read query.
Author:
Matthew T. Adams, Mark Paluch
See Also:
  • Constructor Details

    • CassandraReadTimeoutException

      public CassandraReadTimeoutException(boolean wasDataPresent, String msg, Throwable cause)
      Constructor for QueryTimeoutException.
      Parameters:
      wasDataPresent - whether the actual data was amongst the received replica responses.
      msg - the detail message.
      cause - the root cause from the data access API in use.
  • Method Details

    • getWasDataReceived

      @Deprecated public boolean getWasDataReceived()
      Deprecated.
      since 3.0, use wasDataPresent().
      Returns:
      whether the actual data was amongst the received replica responses.
    • wasDataPresent

      public boolean wasDataPresent()
      Returns:
      whether the actual data was amongst the received replica responses.
      Since:
      3.0