Constructor
new ConstantSpeculativeExecutionPolicy(delay, maxSpeculativeExecutions)
Creates a new instance of ConstantSpeculativeExecutionPolicy.
Parameters:
Name | Type | Description |
---|---|---|
delay |
Number | The delay between each speculative execution. |
maxSpeculativeExecutions |
Number | The amount of speculative executions that should be scheduled after the initial execution. Must be strictly positive. |
- Source:
Extends
- SpeculativeExecutionPolicy
Methods
getOptions()
Gets an associative array containing the policy options.