Method Summary |
|
public Object | getKey() This method returns the key that the lock has been created for. |
public Object | getLockName() This method returns the name of the lock for the key. |
public int | getLockType() This method returns the lock type for this object. |
public long | getThreadId() This method returns the id of the thread locking this object. |
public void | release() This method releases the lock. |
public void | setLockName(Object name) This method sets the name associated with the key lock. |
public void | setThreadId(long id) This method sets the thread id for the lock. |