kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | da3bbee57066a8ed1d64079cc0279ed66eab8278f0711b474321a17a12176d4c |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2017-03-02 11:20 +01:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2017-03-02 11:21 +01:00 |
| Parents | dfb47c04f71c |
6 files changed
modified driver-core/src/main/java/com/datastax/driver/core/Host.java +3 −1
| @@ -458,10 +458,11 @@ | ||
| 458 | 458 | /** |
| 459 | 459 | * Gets invoked when the listener is registered with a cluster, or at cluster startup if the |
| 460 | 460 | * listener was registered at initialization with |
| 461 | - * {@link com.datastax.driver.core.Cluster.Initializer#register(StateListener)}. | |
| 461 | + * {@link com.datastax.driver.core.Cluster#register(Host.StateListener)}. | |
| 462 | 462 | * |
| 463 | 463 | * @param cluster the cluster that this listener is registered with. |
| 464 | 464 | */ |
| 465 | + @Override | |
| 465 | 466 | void onRegister(Cluster cluster); |
| 466 | 467 | |
| 467 | 468 | /** |
| @@ -470,6 +471,7 @@ | ||
| 470 | 471 | * |
| 471 | 472 | * @param cluster the cluster that this listener was registered with. |
| 472 | 473 | */ |
| 474 | + @Override | |
| 473 | 475 | void onUnregister(Cluster cluster); |
| 474 | 476 | } |
| 475 | 477 | } |
modified driver-core/src/main/java/com/datastax/driver/core/policies/ErrorAwarePolicy.java +2 −1
| @@ -165,7 +165,8 @@ | ||
| 165 | 165 | * Defines the maximum number of errors allowed per minute for each host. |
| 166 | 166 | * <p/> |
| 167 | 167 | * The policy keeps track of the number of errors on each host (filtered by |
| 168 | - * {@link #withErrorsFilter(ErrorFilter)}) over a sliding 1-minute window. If a host had more than this number | |
| 168 | + * {@link Builder#withErrorsFilter(com.datastax.driver.core.policies.ErrorAwarePolicy.ErrorFilter)}) | |
| 169 | + * over a sliding 1-minute window. If a host had more than this number | |
| 169 | 170 | * of errors, it will be excluded from the query plan for the duration defined by |
| 170 | 171 | * {@link #withRetryPeriod(long, TimeUnit)}. |
| 171 | 172 | * <p/> |
modified driver-core/src/main/java/com/datastax/driver/core/utils/UUIDs.java +1 −2
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | * </li> |
| 54 | 54 | * </ol> |
| 55 | 55 | * |
| 56 | - * @jira_ticket JAVA-444 | |
| 56 | + * @see <a href="https://datastax-oss.atlassian.net/browse/JAVA-444">JAVA-444</a> | |
| 57 | 57 | * @see <a href="http://www.ietf.org/rfc/rfc4122.txt">A Universally Unique IDentifier (UUID) URN Namespace (RFC 4122)</a> |
| 58 | 58 | */ |
| 59 | 59 | public final class UUIDs { |
| @@ -68,7 +68,6 @@ | ||
| 68 | 68 | private UUIDs() { |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - // http://www.ietf.org/rfc/rfc4122.txt | |
| 72 | 71 | private static final long START_EPOCH = makeEpoch(); |
| 73 | 72 | private static final long CLOCK_SEQ_AND_NODE = makeClockSeqAndNode(); |
| 74 | 73 |
modified driver-core/src/test/java/com/datastax/driver/core/policies/IdempotenceAwareRetryPolicyIntegrationTest.java +1 −0
| @@ -34,6 +34,7 @@ | ||
| 34 | 34 | /** |
| 35 | 35 | * Integration test with an IdempotenceAwareRetryPolicy. |
| 36 | 36 | */ |
| 37 | +@SuppressWarnings("deprecation") | |
| 37 | 38 | public class IdempotenceAwareRetryPolicyIntegrationTest extends AbstractRetryPolicyIntegrationTest { |
| 38 | 39 | |
| 39 | 40 | public IdempotenceAwareRetryPolicyIntegrationTest() { |
modified driver-examples/src/main/java/com/datastax/driver/examples/paging/ForwardPagingRestUi.java +1 −1
| @@ -150,7 +150,7 @@ | ||
| 150 | 150 | * This is also the place where you would normally configure JSON serialization, etc. |
| 151 | 151 | * <p> |
| 152 | 152 | * Note that in this example, we rely on the automatic discovery and configuration of |
| 153 | - * Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}. | |
| 153 | + * Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}. | |
| 154 | 154 | */ |
| 155 | 155 | public static class VideoApplication extends ResourceConfig { |
| 156 | 156 |
modified driver-examples/src/main/java/com/datastax/driver/examples/paging/RandomPagingRestUi.java +1 −1
| @@ -159,7 +159,7 @@ | ||
| 159 | 159 | * This is also the place where you would normally configure JSON serialization, etc. |
| 160 | 160 | * <p/> |
| 161 | 161 | * Note that in this example, we rely on the automatic discovery and configuration of |
| 162 | - * Jackson through {@link org.glassfish.jersey.jackson.JacksonFeature}. | |
| 162 | + * Jackson through {@code org.glassfish.jersey.jackson.JacksonFeature}. | |
| 163 | 163 | */ |
| 164 | 164 | public static class VideoApplication extends ResourceConfig { |
| 165 | 165 |