public abstract class LazyReference<T> extends LockableObject
AbstractQueuedSynchronizer.ConditionObject
Constructor and Description |
---|
LazyReference(ReferenceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
T |
get() |
abstract T |
initValue() |
String |
toString() |
isHeldExclusively, lock, tryAcquire, tryRelease, unlock
acquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isQueued, owns, release, releaseShared, setState, tryAcquireNanos, tryAcquireShared, tryAcquireSharedNanos, tryReleaseShared
getExclusiveOwnerThread, setExclusiveOwnerThread
public LazyReference(ReferenceBundle bundle)
public T get()
public void clear()
public abstract T initValue()
public String toString()
toString
in class AbstractQueuedSynchronizer