public static interface SpeculativeExecutionPolicy.SpeculativeExecutionPlan
Each time a host is queried, nextExecution(Host)
is invoked to determine if and when a speculative query to
the next host will be sent.
Modifier and Type | Method and Description |
---|---|
long |
nextExecution(Host lastQueried)
Returns the time before the next speculative query.
|
long nextExecution(Host lastQueried)
lastQueried
- the host that was just queried.Copyright © 2012–2015. All rights reserved.