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
object
Exception
QueryTimeoutException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 |
Implements
System.Runtime.Serialization.ISerializable