Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
John Blum opened DATACASS-320 and commented
Update CassandraCqlClusterFactoryBean to include a setSpeculativeExecutionPolicy(:SpeculativeExecutionPolicy) method and update the afterPropertiesSet() method to set on the Cluster.Builder.
CassandraCqlClusterFactoryBean
setSpeculativeExecutionPolicy(:SpeculativeExecutionPolicy)
afterPropertiesSet()
Cluster.Builder
Example SpeculativeExecutionPolicy usage:
SpeculativeExecutionPolicy
PerHostPercentileTracker tracker = PerHostPercentileTracker .builderWithHighestTrackableLatencyMillis(15000) .build(); PercentileSpeculativeExecutionPolicy policy = new PercentileSpeculativeExecutionPolicy(tracker, 99.0, 2); Cluster.builder().addContactPoint("127.0.0.1") .withSpeculativeExecutionPolicy(policy) .build();
Affects: 1.4.2 (Hopper SR2)
Referenced from: pull request #79
The text was updated successfully, but these errors were encountered:
John Blum commented
Recent StackOverflow post pertaining to this JIRA ticket
Sorry, something went wrong.
jxblum
No branches or pull requests
John Blum opened DATACASS-320 and commented
Update
CassandraCqlClusterFactoryBean
to include asetSpeculativeExecutionPolicy(:SpeculativeExecutionPolicy)
method and update theafterPropertiesSet()
method to set on theCluster.Builder
.Example
SpeculativeExecutionPolicy
usage:Affects: 1.4.2 (Hopper SR2)
Referenced from: pull request #79
The text was updated successfully, but these errors were encountered: