|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jboss.cache.lock.SimpleLock
Simple lock that does not differentiate read and write lock. All locks are obtained FIFO. Just implements from Doug Lea's concurrent package. This class is used as a delegate for LockStrategy is transaction isolation level.
Constructor Summary | |
SimpleLock()
|
Method Summary | |
EDU.oswego.cs.dl.util.concurrent.Sync |
readLock()
|
EDU.oswego.cs.dl.util.concurrent.Sync |
upgradeLockAttempt(long msecs)
|
EDU.oswego.cs.dl.util.concurrent.Sync |
writeLock()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleLock()
Method Detail |
public EDU.oswego.cs.dl.util.concurrent.Sync readLock()
LockStrategy.readLock()
public EDU.oswego.cs.dl.util.concurrent.Sync upgradeLockAttempt(long msecs)
LockStrategy.upgradeLockAttempt(long)
public EDU.oswego.cs.dl.util.concurrent.Sync writeLock()
LockStrategy.writeLock()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |