Elffuss BraidHub

kikocis/java-driver public

Use renamed builder for PerHostPercentileTracker (#708)

PerHostPercentileTracker.builderWithHighestTrackableLatencyMillis was
renamed to builder in JAVA-1051.
Changeset2c0ff9778e8c95cd02485a4d78f5ba3a308c35a8ee336067d7ac310c2b6c2b00
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-07-14 16:52 -05:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2016-07-14 14:52 -07:00
Parents909018904d3c

Browse the files at this changeset

1 file changed

modified driver-tests/osgi/src/main/java/com/datastax/driver/osgi/impl/Activator.java +1 −1
@@ -74,7 +74,7 @@
7474
7575 String usePercentileSpeculativeExecutionPolicy = context.getProperty("cassandra.usePercentileSpeculativeExecutionPolicy");
7676 if ("true".equals(usePercentileSpeculativeExecutionPolicy)) {
77- PerHostPercentileTracker perHostPercentileTracker = PerHostPercentileTracker.builderWithHighestTrackableLatencyMillis(15000).build();
77+ PerHostPercentileTracker perHostPercentileTracker = PerHostPercentileTracker.builder(15000).build();
7878 builder.withSpeculativeExecutionPolicy(new PercentileSpeculativeExecutionPolicy(perHostPercentileTracker, 99, 1));
7979 LOGGER.info("Use PercentileSpeculativeExecutionPolicy: YES");
8080 } else {