Elffuss BraidHub

kikocis/java-driver public

Revert Javadoc change about idempotence and retries

In 3.0.x the default is still to always retry. The change would apply to
3.0, where the Javadocs have already been amended.
Changeset846b89ef81054e866a1b25deb40e8f71f1f6a5804b91eebc35434cec42653f62
Authorolim7t <omichallat+github@gmail.com> · 2016-08-30 16:10 -07:00
Committerolim7t <omichallat+github@gmail.com> · 2016-08-30 16:10 -07:00
Parents3782f3c2461d

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Statement.java +2 −3
@@ -491,9 +491,8 @@
491491 * Whether this statement is idempotent, i.e. whether it can be applied multiple times
492492 * without changing the result beyond the initial application.
493493 * <p/>
494- * Idempotence plays a role in {@link RetryPolicy retries} and
495- * {@link com.datastax.driver.core.policies.SpeculativeExecutionPolicy speculative executions}.
496- * If a statement is <em>not idempotent</em>, the driver will not schedule retries or speculative
494+ * Idempotence plays a role in {@link com.datastax.driver.core.policies.SpeculativeExecutionPolicy speculative executions}.
495+ * If a statement is <em>not idempotent</em>, the driver will not schedule speculative
497496 * executions for it.
498497 * <p/>
499498 * Note that this method can return {@code null}, in which case the driver will default to