Package de.caluga.morphium.driver
Enum MorphiumDriver.DriverStatsKey
- java.lang.Object
-
- java.lang.Enum<MorphiumDriver.DriverStatsKey>
-
- de.caluga.morphium.driver.MorphiumDriver.DriverStatsKey
-
- All Implemented Interfaces:
Serializable,Comparable<MorphiumDriver.DriverStatsKey>
- Enclosing interface:
- MorphiumDriver
public static enum MorphiumDriver.DriverStatsKey extends Enum<MorphiumDriver.DriverStatsKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTIONS_BORROWEDCONNECTIONS_CLOSEDCONNECTIONS_IN_POOLCONNECTIONS_IN_USECONNECTIONS_OPENEDCONNECTIONS_RELEASEDERRORSFAILOVERSMSG_SENTREPLY_IN_MEMREPLY_PROCESSEDREPLY_RECEIVEDTHREADS_CREATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MorphiumDriver.DriverStatsKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static MorphiumDriver.DriverStatsKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTIONS_OPENED
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_OPENED
-
CONNECTIONS_CLOSED
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_CLOSED
-
CONNECTIONS_BORROWED
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_BORROWED
-
CONNECTIONS_RELEASED
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_RELEASED
-
CONNECTIONS_IN_POOL
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_IN_POOL
-
ERRORS
public static final MorphiumDriver.DriverStatsKey ERRORS
-
FAILOVERS
public static final MorphiumDriver.DriverStatsKey FAILOVERS
-
MSG_SENT
public static final MorphiumDriver.DriverStatsKey MSG_SENT
-
REPLY_PROCESSED
public static final MorphiumDriver.DriverStatsKey REPLY_PROCESSED
-
REPLY_IN_MEM
public static final MorphiumDriver.DriverStatsKey REPLY_IN_MEM
-
REPLY_RECEIVED
public static final MorphiumDriver.DriverStatsKey REPLY_RECEIVED
-
THREADS_CREATED
public static final MorphiumDriver.DriverStatsKey THREADS_CREATED
-
CONNECTIONS_IN_USE
public static final MorphiumDriver.DriverStatsKey CONNECTIONS_IN_USE
-
-
Method Detail
-
values
public static MorphiumDriver.DriverStatsKey[] 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 (MorphiumDriver.DriverStatsKey c : MorphiumDriver.DriverStatsKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MorphiumDriver.DriverStatsKey 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 nameNullPointerException- if the argument is null
-
-