public enum P6OutageDetector extends java.lang.Enum<P6OutageDetector> implements java.lang.Runnable
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
registerInvocation(java.lang.Object jdbcObject,
long startTime,
java.lang.String category,
java.lang.String ps,
java.lang.String sql,
java.lang.String url)
Registers the execution of a statement.
|
void |
run()
Method for running the auxillary thread.
|
void |
shutdown()
Tells the auxillary thread to stop executing.
|
void |
unregisterInvocation(java.lang.Object jdbcObject)
Unregisters the execution of a statement.
|
static P6OutageDetector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static P6OutageDetector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P6OutageDetector INSTANCE
public static P6OutageDetector[] values()
for (P6OutageDetector c : P6OutageDetector.values()) System.out.println(c);
public static P6OutageDetector valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void run()
run in interface java.lang.Runnablepublic void shutdown()
public void registerInvocation(java.lang.Object jdbcObject,
long startTime,
java.lang.String category,
java.lang.String ps,
java.lang.String sql,
java.lang.String url)
public void unregisterInvocation(java.lang.Object jdbcObject)