|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.util.LockSupport
public abstract class LockSupport
Base class for classes that need to manage a ReadWriteLock.
Constructor Summary | |
---|---|
protected |
LockSupport()
|
Method Summary | |
---|---|
protected void |
acquireReadLock()
Locks the shared read lock. |
protected void |
downgradeWriteLockToReadLock()
Takes the read lock then releases the write lock. |
protected void |
releaseReadLock()
Releases the shared read lock. |
protected void |
releaseWriteLock()
Releases the exclusive read lock. |
protected void |
takeWriteLock()
Takes the exclusive write lock. |
protected void |
upgradeReadLockToWriteLock()
Releases the read lock, then takes the write lock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LockSupport()
Method Detail |
---|
protected final void acquireReadLock()
protected final void takeWriteLock()
protected final void releaseReadLock()
protected final void releaseWriteLock()
protected final void upgradeReadLockToWriteLock()
protected final void downgradeWriteLockToReadLock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |