public abstract class QueryTimeoutException extends QueryExecutionException
| Modifier | Constructor and Description |
|---|---|
protected |
QueryTimeoutException(String msg,
ConsistencyLevel consistency,
int received,
int required) |
protected |
QueryTimeoutException(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 time outed.
|
int |
getReceivedAcknowledgements()
The number of replica that had acknowledged/responded to the operation
before it time outed.
|
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 QueryTimeoutException(String msg, ConsistencyLevel consistency, int received, int required)
protected QueryTimeoutException(String msg, Throwable cause, ConsistencyLevel consistency, int received, int required)
public ConsistencyLevel getConsistencyLevel()
public int getReceivedAcknowledgements()
public int getRequiredAcknowledgements()
Copyright © 2014. All Rights Reserved.