public class P6OutageDetector
extends java.lang.Object
implements java.lang.Runnable
Modifier | Constructor and Description |
---|---|
protected |
P6OutageDetector()
Creates new P6OutageDetector
|
Modifier and Type | Method and Description |
---|---|
static P6OutageDetector |
getInstance()
Gets the instance of the detector.
|
void |
registerInvocation(java.lang.Object jdbcObject,
long startTime,
java.lang.String category,
java.lang.String ps,
java.lang.String sql)
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.
|
public static P6OutageDetector getInstance()
public void run()
run
in interface java.lang.Runnable
public void shutdown()
public void registerInvocation(java.lang.Object jdbcObject, long startTime, java.lang.String category, java.lang.String ps, java.lang.String sql)
public void unregisterInvocation(java.lang.Object jdbcObject)