Class QueryTimeoutException
A server timeout during a query. Such an exception is returned when the query has been tried by a server coordinator but cannot be achieved with the requested consistency level within the rpc timeout set at server level.
Inheritance
QueryTimeoutException
Implements
Inherited Members
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public abstract class QueryTimeoutException : QueryExecutionException, ISerializable
Constructors
QueryTimeoutException(string, ConsistencyLevel, int, int)
Declaration
public QueryTimeoutException(string message, ConsistencyLevel consistencyLevel, int received, int required)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
ConsistencyLevel | consistencyLevel | |
int | received | |
int | required |
Properties
ConsistencyLevel
Gets the consistency level of the operation that time outed.
Declaration
public ConsistencyLevel ConsistencyLevel { get; }
Property Value
Type | Description |
---|---|
ConsistencyLevel |
ReceivedAcknowledgements
Gets the number of replica that had acknowledged/responded to the operation before it time outed.
Declaration
public int ReceivedAcknowledgements { get; }
Property Value
Type | Description |
---|---|
int |
RequiredAcknowledgements
Gets the minimum number of replica acknowledgements/responses that were required to fulfill the operation.
Declaration
public int RequiredAcknowledgements { get; }
Property Value
Type | Description |
---|---|
int |