public abstract class QueryConsistencyException extends QueryExecutionException
| Modifier | Constructor and Description | 
|---|---|
protected  | 
QueryConsistencyException(String msg,
                         ConsistencyLevel consistency,
                         int received,
                         int required)  | 
protected  | 
QueryConsistencyException(String msg,
                         Throwable cause,
                         ConsistencyLevel consistency,
                         int received,
                         int required)  | 
| Modifier and Type | Method and Description | 
|---|---|
ConsistencyLevel | 
getConsistencyLevel()
The consistency level of the operation that failed. 
 | 
int | 
getReceivedAcknowledgements()
The number of replica that had acknowledged/responded to the operation
 before it failed. 
 | 
int | 
getRequiredAcknowledgements()
The minimum number of replica acknowledgements/responses that were
 required to fulfill the operation. 
 | 
copyaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected QueryConsistencyException(String msg, ConsistencyLevel consistency, int received, int required)
protected QueryConsistencyException(String msg, Throwable cause, ConsistencyLevel consistency, int received, int required)
public ConsistencyLevel getConsistencyLevel()
public int getReceivedAcknowledgements()
public int getRequiredAcknowledgements()
Copyright © 2012–2015. All rights reserved.