Elffuss BraidHub

kikocis/java-driver public

Update javadoc for SocketOptions.setReadTimeoutMillis.
Changeset62f99d93444968a75b5479340a1f1b9bb15116d9dc135d3e007c5b1ecfade681
Authorolim7t <omichallat+github@gmail.com> · 2014-12-16 19:41 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2014-12-16 19:41 +01:00
Parentsb73911181d2e

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/SocketOptions.java +1 −2
@@ -113,8 +113,7 @@
113113 * <li>the timeout settings used on the Cassandra side ({@code *_request_timeout_in_ms}
114114 * in {@code cassandra.yaml}) should be taken into account when picking a value for this
115115 * read timeout. In particular, if this read timeout option is lower than Cassandra's
116- * timeout, the driver will try another host before it has had the time to receive the
117- * Cassandra timeout. This might be counter-productive.</li>
116+ * timeout, <b>the driver might assume that the host is not responsive and mark it down.</b></li>
118117 * <li>the read timeout is only approximate and only control the timeout to one Cassandra
119118 * host, not the full query (see {@link #getReadTimeoutMillis} for more details). If a
120119 * high level of precision on the timeout to a request is required, you should use