Serializable
public abstract class LazyReference<T> extends LockableObject
AbstractQueuedSynchronizer.ConditionObject
Constructor | Description |
---|---|
LazyReference(ReferenceBundle bundle) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
T |
get() |
|
abstract T |
initValue() |
|
String |
toString() |
getExclusiveOwnerThread, setExclusiveOwnerThread
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
isHeldExclusively, lock, tryAcquire, tryRelease, unlock
public LazyReference(ReferenceBundle bundle)
public T get()
public void clear()
public abstract T initValue()
public String toString()
toString
in class AbstractQueuedSynchronizer