|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.lock.LockStrategyReadUncommitted
Transaction isolation level of READ-UNCOMMITTED. Reads always succeed (NullLock), whereas writes are exclusive. It prevents none of the dirty read, non-repeatable read, or phantom read.
Constructor Summary | |
LockStrategyReadUncommitted()
|
Method Summary | |
EDU.oswego.cs.dl.util.concurrent.Sync |
readLock()
Return a read lock object. |
EDU.oswego.cs.dl.util.concurrent.Sync |
upgradeLockAttempt(long msecs)
Attempt to upgrade the current read lock to write lock with msecs timeout. |
EDU.oswego.cs.dl.util.concurrent.Sync |
writeLock()
Return a write lock object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LockStrategyReadUncommitted()
Method Detail |
public EDU.oswego.cs.dl.util.concurrent.Sync readLock()
LockStrategy
readLock
in interface LockStrategy
LockStrategy.readLock()
public EDU.oswego.cs.dl.util.concurrent.Sync upgradeLockAttempt(long msecs) throws UpgradeException
LockStrategy
msecs
timeout.
upgradeLockAttempt
in interface LockStrategy
msecs
- Timeout in milliseconds.
UpgradeException
LockStrategy.upgradeLockAttempt(long)
public EDU.oswego.cs.dl.util.concurrent.Sync writeLock()
LockStrategy
writeLock
in interface LockStrategy
LockStrategy.writeLock()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |