- All Implemented Interfaces:
- Direct Known Subclasses:
- AbstractQueuedLongSynchronizer, AbstractQueuedSynchronizer
public abstract class AbstractOwnableSynchronizer
A synchronizer that may be exclusively owned by a thread. This
class provides a basis for creating locks and related synchronizers
that may entail a notion of ownership. The
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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final void setExclusiveOwnerThread(Thread t)
Sets the thread that currently owns exclusive access. A
null argument indicates that no thread owns access.
This method does not otherwise impose any synchronization or
volatile field accesses.
protected final Thread getExclusiveOwnerThread()
Returns the thread last set by
setExclusiveOwnerThread, or null if never
set. This method does not otherwise impose any synchronization
or volatile field accesses.
- the owner thread
Java Enterprise Edition (EE)
Java Standard Edition (SE)
RFC (standard status)
RFC (proposed standard status)
RFC (draft standard status)
RFC (informational status)
RFC (experimental status)
RFC (best current practice status)
RFC (historic status)
RFC (unknown status)
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 290 / 158780437. Delta: 0.03821 с