kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ffed01c5e379b2f3321fa9cfbefe13819dcb948fff693bc4e1169c91a3534374 |
|---|---|
| Author | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-04 09:06 +01:00 |
| Committer | Sylvain Lebresne <sylvain@datastax.com> · 2014-02-04 09:06 +01:00 |
| Parents | 95ffa0094aca |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/ExecutionInfo.java +5 −0
| @@ -100,6 +100,11 @@ | ||
| 100 | 100 | * policy, this method will <b>always</b> return {@code null}. However, it |
| 101 | 101 | * might occasionally return a non-{@code null} with say, |
| 102 | 102 | * {@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. | |
| 103 | 108 | */ |
| 104 | 109 | public ConsistencyLevel getAchievedConsistencyLevel() { |
| 105 | 110 | return achievedConsistency; |