com.trackstudio.kernel.lock
Class LockManager
java.lang.Object
com.trackstudio.kernel.lock.LockManager
public class LockManager
- extends java.lang.Object
Field Summary |
protected java.util.List |
lockList
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lockList
protected java.util.List lockList
getInstance
public static LockManager getInstance()
getLock
public org.concurrent.ReentrantLock getLock()
acquireRead
public boolean acquireRead(java.lang.String src)
throws GranException
- Throws:
GranException
releaseRead
public void releaseRead(java.lang.String src)
acquireWrite
public boolean acquireWrite(java.lang.String src)
throws GranException
- Throws:
GranException
releaseWrite
public void releaseWrite(java.lang.String src)
throws GranException
- Throws:
GranException
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.