Click or drag to resize
BuilderWithQueryTimeout Method
Specifies the number of milliseconds that the driver should wait for the response before the query times out in a synchronous operation.

This will cause that synchronous operations like Execute(String) to throw a TimeoutException after the specified number of milliseconds.

Default timeout value is set to
20,000
(20 seconds).

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax
C#
public Builder WithQueryTimeout(
	int queryAbortTimeout
)

Parameters

queryAbortTimeout
Type: SystemInt32
Timeout specified in milliseconds.

Return Value

Type: Builder
this builder
Remarks
If you want to define a read timeout at a lower level, you can use SetReadTimeoutMillis(Int32).
See Also