| |
|
| java.lang.Object java.lang.Thread org.continuent.sequoia.common.locks.DeadlockDetectionThread
DeadlockDetectionThread | public class DeadlockDetectionThread extends Thread (Code) | | This class defines a DeadlockDetectionThread that runs periodically to detect
possible deadlocks in the wait for graph of a given database schema.
author: Emmanuel Cecchet version: 1.0 |
Method Summary | |
public synchronized void | kill() | public void | run() |
DeadlockDetectionThread | public DeadlockDetectionThread(DatabaseBackend backend, VirtualDatabase vdb, Object dbsLock, long timeout)(Code) | | Creates a new DeadlockDetectionThread object
Parameters: backend - the backend we are taking care of Parameters: vdb - virtual database the backend is attached to Parameters: dbsLock - the object on which we can synchronize to prevent databaseschema modifications while we are running the deadlock detectionalgorithm Parameters: timeout - the time to wait before starting to look for deadlocks |
kill | public synchronized void kill()(Code) | | Terminate this thread
|
|
|
|