kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | a99f5df45b45c96c7dcfe41317273c0835f499aadac4c5b24a9a600a43c82d6a |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2016-03-18 14:30 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2016-03-22 18:24 +01:00 |
| Parents | 67cd1a324ee7 |
3 files changed
modified driver-core/src/main/java/com/datastax/driver/core/AbstractMonotonicTimestampGenerator.java +5 −1
| @@ -35,7 +35,11 @@ | ||
| 35 | 35 | * Beware that to guarantee monotonicity, if more than one call to {@link #next()} |
| 36 | 36 | * is made within the same microsecond, or in the event of a system clock skew, this generator might |
| 37 | 37 | * return timestamps that drift out in the future. |
| 38 | - * Whe this happens, {@link #onDrift(long, long)} is invoked. | |
| 38 | + * When this happens, {@link #onDrift(long, long)} is invoked. | |
| 39 | + * <p/> | |
| 40 | + * Note: currently, native calls won't work from an OSGI container. This is because JNR artifacts don't include proper | |
| 41 | + * OSGI descriptors. This will be fixed in an upcoming version (see | |
| 42 | + * <a href="https://datastax-oss.atlassian.net/browse/JAVA-1127">JAVA-1127</a>). | |
| 39 | 43 | */ |
| 40 | 44 | public abstract class AbstractMonotonicTimestampGenerator implements TimestampGenerator { |
| 41 | 45 |
modified driver-core/src/main/java/com/datastax/driver/core/utils/UUIDs.java +3 −1
| @@ -52,8 +52,10 @@ | ||
| 52 | 52 | * </ol> |
| 53 | 53 | * </li> |
| 54 | 54 | * </ol> |
| 55 | + * Note: currently, native calls won't work from an OSGI container. This is because JNR artifacts don't include proper | |
| 56 | + * OSGI descriptors. This will be fixed in an upcoming version (see | |
| 57 | + * <a href="https://datastax-oss.atlassian.net/browse/JAVA-1127">JAVA-1127</a>). | |
| 55 | 58 | * |
| 56 | - * @jira_ticket JAVA-444 | |
| 57 | 59 | * @see <a href="http://www.ietf.org/rfc/rfc4122.txt">A Universally Unique IDentifier (UUID) URN Namespace (RFC 4122)</a> |
| 58 | 60 | */ |
| 59 | 61 | public final class UUIDs { |
modified manual/query_timestamps/README.md +4 −0
| @@ -98,6 +98,10 @@ | ||
| 98 | 98 | INFO com.datastax.driver.core.ClockFactory - Using native clock to generate timestamps |
| 99 | 99 | ``` |
| 100 | 100 | |
| 101 | +Note: currently, native calls won't work from an OSGI container. This is because JNR artifacts don't include proper OSGI | |
| 102 | +descriptors. This will be fixed in an upcoming version (see | |
| 103 | +[JAVA-1127](https://datastax-oss.atlassian.net/browse/JAVA-1127)). | |
| 104 | + | |
| 101 | 105 | [gettimeofday]: http://man7.org/linux/man-pages/man2/settimeofday.2.html |
| 102 | 106 | [JNR]: https://github.com/jnr/jnr-ffi |
| 103 | 107 |