kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 0ad7640b1a921556515e9d7497325e89457f3f5d95e62e9647fb19546055a332 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2016-02-10 11:33 -06:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-04-19 12:05 +02:00 |
| Parents | 7fc038fde76e |
3 files changed
modified changelog/README.md +1 −0
| @@ -6,6 +6,7 @@ | ||
| 6 | 6 | - [improvement] JAVA-1040: SimpleStatement parameters support in QueryLogger. |
| 7 | 7 | - [improvement] JAVA-1151: Fail fast if HdrHistogram is not in the classpath. |
| 8 | 8 | - [improvement] JAVA-1154: Allow individual Statement to cancel the read timeout. |
| 9 | +- [bug] JAVA-1074: Fix documentation around default timestamp generator. | |
| 9 | 10 | |
| 10 | 11 | Merged from 2.1 branch: |
| 11 | 12 |
modified driver-core/src/main/java/com/datastax/driver/core/Cluster.java +2 −2
| @@ -1018,8 +1018,8 @@ | ||
| 1018 | 1018 | * generated server-side, and setting a generator through this method will have |
| 1019 | 1019 | * no effect. |
| 1020 | 1020 | * <p/> |
| 1021 | - * If no generator is set through this method, the driver will default to the | |
| 1022 | - * legacy server-side behavior by using {@link ServerSideTimestampGenerator}. | |
| 1021 | + * If no generator is set through this method, the driver will default to | |
| 1022 | + * client-side timestamps by using {@link AtomicMonotonicTimestampGenerator}. | |
| 1023 | 1023 | * |
| 1024 | 1024 | * @param timestampGenerator the generator to use. |
| 1025 | 1025 | * @return this Builder. |
modified driver-core/src/main/java/com/datastax/driver/core/policies/Policies.java +1 −2
| @@ -16,7 +16,6 @@ | ||
| 16 | 16 | package com.datastax.driver.core.policies; |
| 17 | 17 | |
| 18 | 18 | import com.datastax.driver.core.AtomicMonotonicTimestampGenerator; |
| 19 | -import com.datastax.driver.core.ServerSideTimestampGenerator; | |
| 20 | 19 | import com.datastax.driver.core.TimestampGenerator; |
| 21 | 20 | import com.google.common.base.Objects; |
| 22 | 21 | |
| @@ -115,7 +114,7 @@ | ||
| 115 | 114 | /** |
| 116 | 115 | * The default timestamp generator. |
| 117 | 116 | * <p/> |
| 118 | - * This is an instance of {@link ServerSideTimestampGenerator}. | |
| 117 | + * This is an instance of {@link AtomicMonotonicTimestampGenerator}. | |
| 119 | 118 | * |
| 120 | 119 | * @return the default timestamp generator. |
| 121 | 120 | */ |