me.prettyprint.cassandra.service
Enum CassandraClientMonitor.Counter

java.lang.Object
  extended by java.lang.Enum<CassandraClientMonitor.Counter>
      extended by me.prettyprint.cassandra.service.CassandraClientMonitor.Counter
All Implemented Interfaces:
Serializable, Comparable<CassandraClientMonitor.Counter>
Enclosing class:
CassandraClientMonitor

public static enum CassandraClientMonitor.Counter
extends Enum<CassandraClientMonitor.Counter>

List of available JMX counts


Enum Constant Summary
CONNECT_ERROR
          Connection time errors - unable to connect to host or something...
POOL_EXHAUSTED
           
READ_FAIL
           
READ_SUCCESS
           
RECOVERABLE_LB_CONNECT_ERRORS
          Load balance connection errors
RECOVERABLE_TIMED_OUT_EXCEPTIONS
           
RECOVERABLE_TRANSPORT_EXCEPTIONS
           
RECOVERABLE_UNAVAILABLE_EXCEPTIONS
           
SKIP_HOST_SUCCESS
           
WRITE_FAIL
           
WRITE_SUCCESS
           
 
Method Summary
static CassandraClientMonitor.Counter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CassandraClientMonitor.Counter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RECOVERABLE_TIMED_OUT_EXCEPTIONS

public static final CassandraClientMonitor.Counter RECOVERABLE_TIMED_OUT_EXCEPTIONS

RECOVERABLE_UNAVAILABLE_EXCEPTIONS

public static final CassandraClientMonitor.Counter RECOVERABLE_UNAVAILABLE_EXCEPTIONS

RECOVERABLE_TRANSPORT_EXCEPTIONS

public static final CassandraClientMonitor.Counter RECOVERABLE_TRANSPORT_EXCEPTIONS

SKIP_HOST_SUCCESS

public static final CassandraClientMonitor.Counter SKIP_HOST_SUCCESS

WRITE_SUCCESS

public static final CassandraClientMonitor.Counter WRITE_SUCCESS

WRITE_FAIL

public static final CassandraClientMonitor.Counter WRITE_FAIL

READ_SUCCESS

public static final CassandraClientMonitor.Counter READ_SUCCESS

READ_FAIL

public static final CassandraClientMonitor.Counter READ_FAIL

POOL_EXHAUSTED

public static final CassandraClientMonitor.Counter POOL_EXHAUSTED

RECOVERABLE_LB_CONNECT_ERRORS

public static final CassandraClientMonitor.Counter RECOVERABLE_LB_CONNECT_ERRORS
Load balance connection errors


CONNECT_ERROR

public static final CassandraClientMonitor.Counter CONNECT_ERROR
Connection time errors - unable to connect to host or something...

Method Detail

values

public static CassandraClientMonitor.Counter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CassandraClientMonitor.Counter c : CassandraClientMonitor.Counter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CassandraClientMonitor.Counter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.