Class NoSpeculativeExecutionPolicy
A ISpeculativeExecutionPolicy that never schedules speculative executions.
Inherited Members
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public class NoSpeculativeExecutionPolicy : ISpeculativeExecutionPolicy, IDisposable
Fields
Instance
Declaration
public static readonly NoSpeculativeExecutionPolicy Instance
Field Value
Type | Description |
---|---|
NoSpeculativeExecutionPolicy |
Methods
Dispose()
Declaration
public void Dispose()
Initialize(ICluster)
Initializes the policy at cluster startup.
Declaration
public void Initialize(ICluster cluster)
Parameters
Type | Name | Description |
---|---|---|
ICluster | cluster |
NewPlan(string, IStatement)
Returns the plan to use for a new query.
Declaration
public ISpeculativeExecutionPlan NewPlan(string keyspace, IStatement statement)
Parameters
Type | Name | Description |
---|---|---|
string | keyspace | the currently logged keyspace |
IStatement | statement | the query for which to build a plan. |
Returns
Type | Description |
---|---|
ISpeculativeExecutionPlan |