public class ConstantSpeculativeExecutionPolicyFactory extends Object implements SpeculativeExecutionPolicyFactory
ConstantSpeculativeExecutionPolicy instances.
Configuration Parameters:
| Name | Default | Description |
| delay | No default. You must provide a value. | The delay between each speculative execution. Must be strictly positive. |
| maxSpeculativeExecutions | No default. You must provide a value. | The number of speculative executions. Must be strictly positive. |
| Constructor and Description |
|---|
ConstantSpeculativeExecutionPolicyFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.policies.SpeculativeExecutionPolicy |
build() |
io.dropwizard.util.Duration |
getDelay() |
Integer |
getMaxSpeculativeExecutions() |
void |
setDelay(io.dropwizard.util.Duration delay) |
void |
setMaxSpeculativeExecutions(Integer maxSpeculativeExecutions) |
public ConstantSpeculativeExecutionPolicyFactory()
public io.dropwizard.util.Duration getDelay()
public void setDelay(io.dropwizard.util.Duration delay)
public Integer getMaxSpeculativeExecutions()
public void setMaxSpeculativeExecutions(Integer maxSpeculativeExecutions)
public com.datastax.driver.core.policies.SpeculativeExecutionPolicy build()
build in interface SpeculativeExecutionPolicyFactoryCopyright © 2016 Composable Systems Limited. All rights reserved.