org.apache.commons.transaction.locking
Class GenericLock.LockOwner

java.lang.Object
  extended by org.apache.commons.transaction.locking.GenericLock.LockOwner
Enclosing class:
GenericLock

protected static class GenericLock.LockOwner
extends Object


Field Summary
 int compatibility
           
 boolean intention
           
 int lockLevel
           
 Object ownerId
           
 
Constructor Summary
GenericLock.LockOwner(Object ownerId, int lockLevel, int compatibility, boolean intention)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ownerId

public final Object ownerId

lockLevel

public final int lockLevel

intention

public final boolean intention

compatibility

public final int compatibility
Constructor Detail

GenericLock.LockOwner

public GenericLock.LockOwner(Object ownerId,
                             int lockLevel,
                             int compatibility,
                             boolean intention)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.