public DeadLockDetector(int sleepTime,byte doWhenDL){
  super("DeadLockDetector");
  this.sleepTime=sleepTime * 1000;
  this.tmx=ManagementFactory.getThreadMXBean();
  this.doWhenDL=doWhenDL;
}

public DeadLockDetector ( int sleepTime , byte doWhenDL ) { super ( "DeadLockDetector" ) ; this . sleepTime = sleepTime * 1000 ; this . tmx = ManagementFactory . getThreadMXBean ( ) ; this . doWhenDL = doWhenDL ; }
create new deadlockdetector with given values .
