ozone core API

org.ozoneDB.core
Class DeadlockThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.ozoneDB.core.DeadlockThread
All Implemented Interfaces:
java.lang.Runnable

public class DeadlockThread
extends java.lang.Thread


Field Summary
protected  long sleepTime
           
private  boolean stopRunning
           
protected  TransactionManager tm
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DeadlockThread(long _sleepTime, TransactionManager _tm)
           
 
Method Summary
 void run()
           
 void stopRunning()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tm

protected TransactionManager tm

sleepTime

protected long sleepTime

stopRunning

private volatile boolean stopRunning
Constructor Detail

DeadlockThread

public DeadlockThread(long _sleepTime,
                      TransactionManager _tm)
Method Detail

stopRunning

public final void stopRunning()

run

public void run()

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.