Constructor and Description |
---|
Errors() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.Counter |
getAuthenticationErrors()
Returns the number of authentication errors while connecting to Cassandra nodes.
|
com.codahale.metrics.Counter |
getClientTimeouts()
Returns the number of requests that timed out before the driver
received a response.
|
com.codahale.metrics.Counter |
getConnectionErrors()
Returns the number of errors while connecting to Cassandra nodes.
|
com.codahale.metrics.Counter |
getIgnores()
Returns the number of times a request was ignored
due to the
RetryPolicy , for
example due to timeouts or unavailability. |
com.codahale.metrics.Counter |
getIgnoresOnClientTimeout()
Returns the number of times a request was ignored due to the
RetryPolicy , after a
client timeout. |
com.codahale.metrics.Counter |
getIgnoresOnConnectionError()
Returns the number of times a request was ignored due to the
RetryPolicy , after a
connection error. |
com.codahale.metrics.Counter |
getIgnoresOnOtherErrors()
Returns the number of times a request was ignored due to the
RetryPolicy , after an
unexpected error. |
com.codahale.metrics.Counter |
getIgnoresOnReadTimeout()
Returns the number of times a request was ignored due to the
RetryPolicy , after a
read timed out. |
com.codahale.metrics.Counter |
getIgnoresOnUnavailable()
Returns the number of times a request was ignored due to the
RetryPolicy , after an
unavailable exception. |
com.codahale.metrics.Counter |
getIgnoresOnWriteTimeout()
Returns the number of times a request was ignored due to the
RetryPolicy , after a
write timed out. |
com.codahale.metrics.Counter |
getOthers()
Returns the number of requests that returned errors not accounted for by
another metric.
|
com.codahale.metrics.Counter |
getReadTimeouts()
Returns the number of read requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy ). |
com.codahale.metrics.Counter |
getRetries()
Returns the number of times a request was retried due to the
RetryPolicy . |
com.codahale.metrics.Counter |
getRetriesOnClientTimeout()
Returns the number of times a request was retried due to the
RetryPolicy , after a
client timeout. |
com.codahale.metrics.Counter |
getRetriesOnConnectionError()
Returns the number of times a request was retried due to the
RetryPolicy , after a
connection error. |
com.codahale.metrics.Counter |
getRetriesOnOtherErrors()
Returns the number of times a request was retried due to the
RetryPolicy , after an
unexpected error. |
com.codahale.metrics.Counter |
getRetriesOnReadTimeout()
Returns the number of times a request was retried due to the
RetryPolicy , after a
read timed out. |
com.codahale.metrics.Counter |
getRetriesOnUnavailable()
Returns the number of times a request was retried due to the
RetryPolicy , after an
unavailable exception. |
com.codahale.metrics.Counter |
getRetriesOnWriteTimeout()
Returns the number of times a request was retried due to the
RetryPolicy , after a
write timed out. |
com.codahale.metrics.Counter |
getSpeculativeExecutions()
Returns the number of times a speculative execution was started
because a previous execution did not complete within the delay
specified by
SpeculativeExecutionPolicy . |
com.codahale.metrics.Counter |
getUnavailables()
Returns the number of requests that returned an unavailable exception
(independently of the final decision taken by the
RetryPolicy ). |
com.codahale.metrics.Counter |
getWriteTimeouts()
Returns the number of write requests that returned a timeout (independently
of the final decision taken by the
RetryPolicy ). |
public com.codahale.metrics.Counter getConnectionErrors()
public com.codahale.metrics.Counter getAuthenticationErrors()
public com.codahale.metrics.Counter getWriteTimeouts()
RetryPolicy
).public com.codahale.metrics.Counter getReadTimeouts()
RetryPolicy
).public com.codahale.metrics.Counter getUnavailables()
RetryPolicy
).public com.codahale.metrics.Counter getClientTimeouts()
public com.codahale.metrics.Counter getOthers()
public com.codahale.metrics.Counter getRetries()
RetryPolicy
.RetryPolicy
.public com.codahale.metrics.Counter getRetriesOnReadTimeout()
RetryPolicy
, after a
read timed out.RetryPolicy
, after a
read timed out.public com.codahale.metrics.Counter getRetriesOnWriteTimeout()
RetryPolicy
, after a
write timed out.RetryPolicy
, after a
write timed out.public com.codahale.metrics.Counter getRetriesOnUnavailable()
RetryPolicy
, after an
unavailable exception.RetryPolicy
, after an
unavailable exception.public com.codahale.metrics.Counter getRetriesOnClientTimeout()
RetryPolicy
, after a
client timeout.RetryPolicy
, after a
client timeout.public com.codahale.metrics.Counter getRetriesOnConnectionError()
RetryPolicy
, after a
connection error.RetryPolicy
, after a
connection error.public com.codahale.metrics.Counter getRetriesOnOtherErrors()
RetryPolicy
, after an
unexpected error.RetryPolicy
, after an
unexpected error.public com.codahale.metrics.Counter getIgnores()
RetryPolicy
, for
example due to timeouts or unavailability.RetryPolicy
.public com.codahale.metrics.Counter getIgnoresOnReadTimeout()
RetryPolicy
, after a
read timed out.RetryPolicy
, after a
read timed out.public com.codahale.metrics.Counter getIgnoresOnWriteTimeout()
RetryPolicy
, after a
write timed out.RetryPolicy
, after a
write timed out.public com.codahale.metrics.Counter getIgnoresOnUnavailable()
RetryPolicy
, after an
unavailable exception.RetryPolicy
, after an
unavailable exception.public com.codahale.metrics.Counter getIgnoresOnClientTimeout()
RetryPolicy
, after a
client timeout.RetryPolicy
, after a
client timeout.public com.codahale.metrics.Counter getIgnoresOnConnectionError()
RetryPolicy
, after a
connection error.RetryPolicy
, after a
connection error.public com.codahale.metrics.Counter getIgnoresOnOtherErrors()
RetryPolicy
, after an
unexpected error.RetryPolicy
, after an
unexpected error.public com.codahale.metrics.Counter getSpeculativeExecutions()
SpeculativeExecutionPolicy
.Copyright © 2012–2018. All rights reserved.