AbstractOwnableSynchronizer
class itself does not manage or
use this information. However, subclasses and tools may use
appropriately maintained values to help control and monitor access
and provide diagnostics.
Modifier and Type | Field and Description |
---|---|
private transient Thread | exclusiveOwnerThread
The current owner of exclusive mode synchronization. |
private static final long | serialVersionUID
Use serial ID even though all fields transient. |
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
protected final Thread | Returns: the owner threadReturns the thread last set by |
protected final void | setExclusiveOwnerThread(Thread
the owner thread thread)Sets the thread that currently owns exclusive access. |
exclusiveOwnerThread | back to summary |
---|---|
private transient Thread exclusiveOwnerThread The current owner of exclusive mode synchronization. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Use serial ID even though all fields transient. |
AbstractOwnableSynchronizer | back to summary |
---|---|
protected AbstractOwnableSynchronizer() Empty constructor for use by subclasses. |
getExclusiveOwnerThread | back to summary |
---|---|
protected final Thread getExclusiveOwnerThread() Returns the thread last set by
|
setExclusiveOwnerThread | back to summary |
---|---|
protected final void setExclusiveOwnerThread(Thread thread) Sets the thread that currently owns exclusive access.
A
|