public enum JmxDatabasePoolAttributes extends Enum<JmxDatabasePoolAttributes>
| Enum Constant and Description |
|---|
APACHE_COMMONS |
HIKARI |
TOMCAT |
VIBUR |
| Modifier and Type | Field and Description |
|---|---|
String |
abandonedTimeoutAttributeName |
static int |
ACTIVE_CONNECTION_ATTRIBUTE_INDEX |
static int |
IDLE_CONNECTION_ATTRIBUTE_INDEX |
String |
instanceOfQuery |
static int |
MAX_CONNECTION_ATTRIBUTE_INDEX |
String[] |
poolUseAttributeNames |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
getJmxAttributes(MBeanServer beanServer,
ObjectInstance objectInstance) |
static JmxDatabasePoolAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmxDatabasePoolAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmxDatabasePoolAttributes APACHE_COMMONS
public static final JmxDatabasePoolAttributes TOMCAT
public static final JmxDatabasePoolAttributes VIBUR
public static final JmxDatabasePoolAttributes HIKARI
public static final int IDLE_CONNECTION_ATTRIBUTE_INDEX
public static final int ACTIVE_CONNECTION_ATTRIBUTE_INDEX
public static final int MAX_CONNECTION_ATTRIBUTE_INDEX
public final String instanceOfQuery
public final String[] poolUseAttributeNames
public final String abandonedTimeoutAttributeName
public static JmxDatabasePoolAttributes[] values()
for (JmxDatabasePoolAttributes c : JmxDatabasePoolAttributes.values()) System.out.println(c);
public static JmxDatabasePoolAttributes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic List<Attribute> getJmxAttributes(@Nonnull MBeanServer beanServer, @Nonnull ObjectInstance objectInstance)
Copyright © 2017–2019 Atlassian. All rights reserved.