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
Spring data access exception for Cassandra when insufficient replicas are available for a given consistency level.
- Author:
- Matthew T. Adams
- See Also:
-
Constructor Summary
ConstructorDescriptionCassandraInsufficientReplicasAvailableException
(int numberRequired, int numberAlive, String msg, Throwable cause) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CassandraInsufficientReplicasAvailableException
-
CassandraInsufficientReplicasAvailableException
-
-
Method Details
-
getNumberRequired
public int getNumberRequired() -
getNumberAlive
public int getNumberAlive()
-