Elffuss BraidHub

kikocis/java-driver public

Clarify javadoc of connectionErrors metric.
Changeset05b205659999f7b7f9cadfe718853c3fb0f4884100230d486933f3802b59e7f1
Authorolim7t <omichallat+github@gmail.com> · 2016-02-12 10:56 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2016-02-12 10:56 +01:00
Parentsdc4611ec5270

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Metrics.java +2 −2
@@ -287,7 +287,7 @@
287287 private final Counter speculativeExecutions = registry.counter("speculative-executions");
288288
289289 /**
290- * Returns the number of connection to Cassandra nodes errors.
290+ * Returns the number of errors while connecting to Cassandra nodes.
291291 * <p/>
292292 * This represents the number of times that a request to a Cassandra node
293293 * has failed due to a connection problem. This thus also corresponds to
@@ -297,7 +297,7 @@
297297 * (or is stopped) ,but if that number grows continuously you likely have
298298 * a problem.
299299 *
300- * @return the number of connection to Cassandra nodes errors.
300+ * @return the number of errors while connecting to Cassandra nodes.
301301 */
302302 public Counter getConnectionErrors() {
303303 return connectionErrors;