public class DeadLockDetector
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
DeadLockDetector()
Creates a DeadLockDetector.
|
DeadLockDetector(int ddRefreshPeriod)
Creates a DeadLockDetector.
|
Modifier and Type | Method and Description |
---|---|
int |
getDdRefreshPeriod()
Gets the detector refresh period.
|
void |
run() |
void |
setDdRefreshPeriod(int ddRefreshPeriod)
Sets the detector refresh period.
|
void |
start()
Starts the DeadLockDetector.
|
void |
stop()
Stops the DeadLockDetector.
|
public DeadLockDetector(int ddRefreshPeriod)
ddRefreshPeriod
- the refresh period of detection.public DeadLockDetector()
public void run()
run
in interface java.lang.Runnable
public void start()
public void stop()
public int getDdRefreshPeriod()
public void setDdRefreshPeriod(int ddRefreshPeriod)
ddRefreshPeriod
- the ddRefreshPeriod to set.