public abstract class LockSupport extends Object
Modifier | Constructor and Description |
---|---|
protected |
LockSupport() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected LockSupport()
protected final void acquireReadLock()
protected final void takeWriteLock()
protected final void releaseReadLock()
protected final void releaseWriteLock()
protected final void upgradeReadLockToWriteLock()
protected final void downgradeWriteLockToReadLock()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.