org.exist.storage.lock
Class LockOwner

java.lang.Object
  extended by org.exist.storage.lock.LockOwner

public class LockOwner
extends Object

Used to track acquired locks, mainly for debugging.


Field Summary
static boolean DEBUG
          Global flag: set to true to receive debugging output, in particular, to see where a lock was acquired.
 
Constructor Summary
LockOwner(Thread owner)
           
 
Method Summary
 Thread getOwner()
           
 Throwable getStack()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Global flag: set to true to receive debugging output, in particular, to see where a lock was acquired. Note: it adds some considerable processing overhead.

Constructor Detail

LockOwner

public LockOwner(Thread owner)
Method Detail

getOwner

public final Thread getOwner()

getStack

public final Throwable getStack()


Copyright (C) Wolfgang Meier. All rights reserved.