Elffuss BraidHub

kikocis/java-driver public

Mention defaults in SocketOptions timeout setters.
Changesete2b12eeb741a5d2d1d26c87fc2aa6a3a53dd03395e18891d2dee8f21b21d4676
Authorolim7t <omichallat+github@gmail.com> · 2015-10-02 13:19 -07:00
Committerolim7t <omichallat+github@gmail.com> · 2015-10-02 13:19 -07:00
Parents4b51bfe74d6b

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/SocketOptions.java +4 −0
@@ -68,6 +68,8 @@
6868
6969 /**
7070 * Sets the connection timeout in milliseconds.
71+ * <p>
72+ * The default value is {@link #DEFAULT_CONNECT_TIMEOUT_MILLIS}.
7173 *
7274 * @param connectTimeoutMillis the timeout to set.
7375 * @return this {@code SocketOptions}.
@@ -120,6 +122,8 @@
120122 * </ul>
121123 * <p>
122124 * Setting a value of 0 disables read timeouts.
125+ * <p>
126+ * The default value is {@link #DEFAULT_READ_TIMEOUT_MILLIS}.
123127 *
124128 * @param readTimeoutMillis the timeout to set.
125129 * @return this {@code SocketOptions}.