|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | |
Sync |
readLock()
Return a read lock object. |
Sync |
upgradeLockAttempt(long msecs)
Attempt to upgrade the current read lock to write lock with msecs timeout. |
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 Sync readLock()
LockStrategy (src)
readLock in interface LockStrategy (src) LockStrategy.readLock()
public Sync upgradeLockAttempt(long msecs)
throws UpgradeException (src)
LockStrategy (src) msecs timeout.
upgradeLockAttempt in interface LockStrategy (src) msecs - Timeout in milliseconds.
UpgradeException (src) LockStrategy.upgradeLockAttempt(long)public Sync writeLock()
LockStrategy (src)
writeLock in interface LockStrategy (src) LockStrategy.writeLock()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||