public class P6OutageDetector extends Object implements 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(Object jdbcObject,
long startTime,
String category,
String ps,
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(Object jdbcObject)
Unregisters the execution of a statement.
|
public static P6OutageDetector getInstance()
public void run()
public void shutdown()
public void registerInvocation(Object jdbcObject, long startTime, String category, String ps, String sql)
public void unregisterInvocation(Object jdbcObject)