@@ -47,7 +47,7 @@ public static class Builder {
47
47
private long minHeartbeatFrequencyMS = 500 ;
48
48
49
49
/**
50
- * Sets the frequency that the cluster monitor attempts to reach each server.
50
+ * Sets the frequency that the cluster monitor attempts to reach each server. The default value is 10 seconds.
51
51
*
52
52
* @param heartbeatFrequency the heartbeat frequency
53
53
* @param timeUnit the time unit
@@ -60,7 +60,7 @@ public Builder heartbeatFrequency(final long heartbeatFrequency, final TimeUnit
60
60
61
61
/**
62
62
* Sets the minimum heartbeat frequency. In the event that the driver has to frequently re-check a server's availability, it will
63
- * wait at least this long since the previous check to avoid wasted effort. The default value is 10 ms .
63
+ * wait at least this long since the previous check to avoid wasted effort. The default value is 500 milliseconds .
64
64
*
65
65
* @param minHeartbeatFrequency the minimum heartbeat frequency
66
66
* @param timeUnit the time unit
@@ -82,7 +82,7 @@ public ServerSettings build() {
82
82
}
83
83
84
84
/**
85
- * Gets the frequency that the cluster monitor attempts to reach each server. The default is every 5 seconds.
85
+ * Gets the frequency that the cluster monitor attempts to reach each server. The default value is 10 seconds.
86
86
*
87
87
* @param timeUnit the time unit
88
88
* @return the heartbeat frequency
@@ -93,7 +93,7 @@ public long getHeartbeatFrequency(final TimeUnit timeUnit) {
93
93
94
94
/**
95
95
* Gets the minimum heartbeat frequency. In the event that the driver has to frequently re-check a server's availability, it will wait
96
- * at least this long since the previous check to avoid wasted effort. The default value is 10 ms .
96
+ * at least this long since the previous check to avoid wasted effort. The default value is 500 milliseconds .
97
97
*
98
98
* @param timeUnit the time unit
99
99
* @return the heartbeat reconnect retry frequency
0 commit comments