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 seconds).
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax public Builder WithQueryTimeout(
int queryAbortTimeout
)
Parameters
- queryAbortTimeout
- Type: SystemInt32
Timeout specified in milliseconds.
Return Value
Type:
Builderthis builder
Remarks See Also