Class CassandraHealthCheck
- java.lang.Object
-
- org.elasticsoftware.elasticactors.cassandra2.health.CassandraHealthCheck
-
- All Implemented Interfaces:
HealthCheck
public class CassandraHealthCheck extends Object implements HealthCheck
- Author:
- Rob de Boer, Joost van de Wijgerd
-
-
Constructor Summary
Constructors Constructor Description CassandraHealthCheck(com.datastax.driver.core.Session cassandraSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckResultcheck()Because we are doing quorum reads and writes the system is still healthy when there are N - 1 nodes up, where N is the total number of nodes in the cluster.
-
-
-
Method Detail
-
check
public HealthCheckResult check()
Because we are doing quorum reads and writes the system is still healthy when there are N - 1 nodes up, where N is the total number of nodes in the cluster. Check this tool: https://www.ecyrd.com/cassandracalculator/- Specified by:
checkin interfaceHealthCheck- Returns:
-
-