|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to specify lock strategy, e.g., for different isolation levels.
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. |
Method Detail |
public EDU.oswego.cs.dl.util.concurrent.Sync readLock()
public EDU.oswego.cs.dl.util.concurrent.Sync writeLock()
public EDU.oswego.cs.dl.util.concurrent.Sync upgradeLockAttempt(long msecs) throws UpgradeException
msecs
timeout.
msecs
- Timeout in milliseconds.
UpgradeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |