Elffuss BraidHub

kikocis/java-driver public

Clarify javadoc
Changesetffed01c5e379b2f3321fa9cfbefe13819dcb948fff693bc4e1169c91a3534374
AuthorSylvain Lebresne <sylvain@datastax.com> · 2014-02-04 09:06 +01:00
CommitterSylvain Lebresne <sylvain@datastax.com> · 2014-02-04 09:06 +01:00
Parents95ffa0094aca

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/ExecutionInfo.java +5 −0
@@ -100,6 +100,11 @@
100100 * policy, this method will <b>always</b> return {@code null}. However, it
101101 * might occasionally return a non-{@code null} with say,
102102 * {@link com.datastax.driver.core.policies.DowngradingConsistencyRetryPolicy}.
103+ *
104+ * @return {@code null} if the original consistency level of the query was
105+ * achieved, or the consistency level that was ultimately achieved if the
106+ * {@code RetryPolicy} triggered a retry at a different consistency level
107+ * than the original one.
103108 */
104109 public ConsistencyLevel getAchievedConsistencyLevel() {
105110 return achievedConsistency;