com.rocketsoftware.mvapi.pool
Enum MVConnectionPoolStats.StatName
java.lang.Object
java.lang.Enum<MVConnectionPoolStats.StatName>
com.rocketsoftware.mvapi.pool.MVConnectionPoolStats.StatName
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MVConnectionPoolStats.StatName>
- Enclosing class:
- MVConnectionPoolStats
public static enum MVConnectionPoolStats.StatName
- extends java.lang.Enum<MVConnectionPoolStats.StatName>
Enumeration of the allowable statistic names.
- Since:
- 1.0
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TOTAL
public static final MVConnectionPoolStats.StatName TOTAL
NEW
public static final MVConnectionPoolStats.StatName NEW
USEDAVAIL
public static final MVConnectionPoolStats.StatName USEDAVAIL
WAITATMAX
public static final MVConnectionPoolStats.StatName WAITATMAX
WAITNOLIC
public static final MVConnectionPoolStats.StatName WAITNOLIC
WAITLIMIT
public static final MVConnectionPoolStats.StatName WAITLIMIT
WAITFAILED
public static final MVConnectionPoolStats.StatName WAITFAILED
FAILED
public static final MVConnectionPoolStats.StatName FAILED
values
public static final MVConnectionPoolStats.StatName[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MVConnectionPoolStats.StatName c : MVConnectionPoolStats.StatName.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MVConnectionPoolStats.StatName valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name