Interface ISpeculativeExecutionPlan
Represents a plan that governs speculative executions for a given query.
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public interface ISpeculativeExecutionPlan
Methods
NextExecution(Host)
Returns the time before the next speculative query.
Declaration
long NextExecution(Host lastQueried)
Parameters
Type | Name | Description |
---|---|---|
Host | lastQueried | the host that was just queried. |
Returns
Type | Description |
---|---|
long | the time (in milliseconds) before a speculative query is sent to the next host. If zero or negative, no speculative query will be sent. |