|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.datastax.driver.core.Metrics.Errors
public class Metrics.Errors
Metrics on errors encountered.
Constructor Summary | |
---|---|
Metrics.Errors()
|
Method Summary | |
---|---|
com.yammer.metrics.core.Counter |
getConnectionErrors()
The number of connection to Cassandra nodes errors. |
com.yammer.metrics.core.Counter |
getIgnores()
The number of times a requests timeout/unavailability was ignored due to the RetryPolicy . |
com.yammer.metrics.core.Counter |
getOthers()
The number of requests that returned an errors not accounted by another metric. |
com.yammer.metrics.core.Counter |
getReadTimeouts()
The number of read requests that returned a timeout (independently of the final decision taken by the RetryPolicy ). |
com.yammer.metrics.core.Counter |
getRetries()
The number of times a requests was retried due to the RetryPolicy . |
com.yammer.metrics.core.Counter |
getUnavailables()
The number of requests that returned an unavailable exception (independently of the final decision taken by the RetryPolicy ). |
com.yammer.metrics.core.Counter |
getWriteTimeouts()
The number of write requests that returned a timeout (independently of the final decision taken by the RetryPolicy ). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Metrics.Errors()
Method Detail |
---|
public com.yammer.metrics.core.Counter getConnectionErrors()
This represents the number of times when a requests to a Cassandra has failed due to a connection problem. This thus also correspond to how often the driver had to pick a fallback host for a request.
It is expected to get a few connection errors when a Cassandra dies (or is stopped) but if that value grow continuously you likely have a problem.
public com.yammer.metrics.core.Counter getWriteTimeouts()
RetryPolicy
).
public com.yammer.metrics.core.Counter getReadTimeouts()
RetryPolicy
).
public com.yammer.metrics.core.Counter getUnavailables()
RetryPolicy
).
public com.yammer.metrics.core.Counter getOthers()
public com.yammer.metrics.core.Counter getRetries()
RetryPolicy
.
RetryPolicy
.public com.yammer.metrics.core.Counter getIgnores()
RetryPolicy
.
RetryPolicy
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |