Elffuss BraidHub

kikocis/java-driver public

Fix NativeClock's javadoc

`currentTimeMicros`'s cost is comparable to `System#nanoTime`, not `System#currentTimeMillis`
Changeset65bb1c9e7c9e0885baaaf2786b835b4cb56dc084c2b3681b552dc72c88248709
AuthorStephane Landelle <slandelle@gatling.io> · 2016-10-10 14:27 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2016-10-19 10:42 -07:00
Parentsd4ed497263d4

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Clock.java +1 −1
@@ -82,7 +82,7 @@
8282 * to get the current time, which is good enough an accuracy for our purpose (see CASSANDRA-6106).
8383 * <p/>
8484 * This reduces the cost of the call to {@link NativeClock#currentTimeMicros()} to levels comparable
85- * to those of a call to {@link System#currentTimeMillis()}.
85+ * to those of a call to {@link System#nanoTime()}.
8686 */
8787 class NativeClock implements Clock {
8888