Class CassandraInsufficientReplicasAvailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.TransientDataAccessException
org.springframework.data.cassandra.CassandraInsufficientReplicasAvailableException
All Implemented Interfaces:
Serializable

public class CassandraInsufficientReplicasAvailableException extends org.springframework.dao.TransientDataAccessException
Spring data access exception for Cassandra when insufficient replicas are available for a given consistency level.
Author:
Matthew T. Adams
See Also:
  • Constructor Details

    • CassandraInsufficientReplicasAvailableException

      public CassandraInsufficientReplicasAvailableException(String msg)
    • CassandraInsufficientReplicasAvailableException

      public CassandraInsufficientReplicasAvailableException(int numberRequired, int numberAlive, String msg, Throwable cause)
  • Method Details

    • getNumberRequired

      public int getNumberRequired()
    • getNumberAlive

      public int getNumberAlive()