Click or drag to resize

IExecutionProfile Properties

The IExecutionProfile type exposes the following members.

Properties
  NameDescription
Public propertyConsistencyLevel

Retrieves the ConsistencyLevel set on this profile. It's

null
if not set.

See ConsistencyLevel for additional context on this setting.

Public propertyLoadBalancingPolicy

Retrieves the LoadBalancingPolicy set on this profile. It's

null
if not set.

See ILoadBalancingPolicy for additional context on this setting.

Public propertyReadTimeoutMillis
The per-host read timeout in milliseconds.

This defines how long the driver will wait for a given Cassandra node to answer a query.

Please note that this is not the maximum time a call to Execute(String) may block; this is the maximum time that call will wait for one particular Cassandra host, but other hosts will be tried if one of them timeout. In other words, a Execute(String) call may theoretically wait up to ReadTimeoutMillis * {number_of_cassandra_hosts} (though the total number of hosts tried for a given query also depends on the LoadBalancingPolicy in use). Also note that for efficiency reasons, this read timeout is approximate, it may fire up to late. It is not meant to be used for precise timeout, but rather as a protection against misbehaving Cassandra nodes.
Public propertyRetryPolicy

Retrieves the RetryPolicy set on this profile. It's

null
if not set.

See RetryPolicy for additional context on this setting.

Public propertySerialConsistencyLevel

Retrieves the SerialConsistencyLevel set on this profile. It's

null
if not set.

See ConsistencyLevel for additional context on this setting.

Public propertySpeculativeExecutionPolicy

Retrieves the SpeculativeExecutionPolicy set on this profile. It's

null
if not set.

See ISpeculativeExecutionPolicy for additional context on this setting.

Top
See Also