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
System.Object
System.Exception
QueryTimeoutException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dse
Assembly: Dse.dll
Syntax
public abstract class QueryTimeoutException : QueryExecutionException, ISerializable
Constructors
QueryTimeoutException(String, ConsistencyLevel, Int32, Int32)
Declaration
public QueryTimeoutException(string message, ConsistencyLevel consistencyLevel, int received, int required)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
ConsistencyLevel | consistencyLevel | |
System.Int32 | received | |
System.Int32 | 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 |
---|---|
System.Int32 |
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 |
---|---|
System.Int32 |
Implements
System.Runtime.Serialization.ISerializable