Elffuss BraidHub

kikocis/java-driver public

Clarify javadoc of connectionErrors metric.
Changeset2e049524e190e641c5c7dfd48ffb37114f483043443c52c4032c1b22edcdbec3
Authorolim7t <omichallat+github@gmail.com> · 2016-02-12 10:56 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2016-03-31 16:36 +02:00
Parents0ee8639e688e

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Metrics.java +2 −2
@@ -295,7 +295,7 @@
295295 private final Counter speculativeExecutions = registry.counter("speculative-executions");
296296
297297 /**
298- * Returns the number of connection to Cassandra nodes errors.
298+ * Returns the number of errors while connecting to Cassandra nodes.
299299 * <p/>
300300 * This represents the number of times that a request to a Cassandra node
301301 * has failed due to a connection problem. This thus also corresponds to
@@ -305,7 +305,7 @@
305305 * (or is stopped) ,but if that number grows continuously you likely have
306306 * a problem.
307307 *
308- * @return the number of connection to Cassandra nodes errors.
308+ * @return the number of errors while connecting to Cassandra nodes.
309309 */
310310 public Counter getConnectionErrors() {
311311 return connectionErrors;