| java.lang.Object hu.netmind.persistence.node.RemoteLockTracker
RemoteLockTracker | public class RemoteLockTracker (Code) | | Tracks remote locks. There are two views of tracked data: the index
of the node it came from, and the object's id itself. There is also
a transaction associated with the lock.
author: Brautigam Robert version: Revision: $Revision$ |
Inner Class :public class LockEntry implements Comparable | |
Method Summary | |
public synchronized SessionInfo | lock(int index, long threadId, long txSerial, List metas, SessionInfo info, int wait, boolean ensureCurrent) Lock given ids. | public synchronized void | unlock(int index, long threadId, long txSerial, List metas) Unlock given ids. | public synchronized void | unlockAll(int index) |
lock | public synchronized SessionInfo lock(int index, long threadId, long txSerial, List metas, SessionInfo info, int wait, boolean ensureCurrent)(Code) | | Lock given ids.
|
unlock | public synchronized void unlock(int index, long threadId, long txSerial, List metas)(Code) | | Unlock given ids.
|
unlockAll | public synchronized void unlockAll(int index)(Code) | | |
|
|