Serializablepublic 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, setExclusiveOwnerThreadacquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isQueued, owns, release, releaseShared, setState, tryAcquireNanos, tryAcquireShared, tryAcquireSharedNanos, tryReleaseSharedisHeldExclusively, lock, tryAcquire, tryRelease, unlockpublic LazyReference(ReferenceBundle bundle)
public T get()
public void clear()
public abstract T initValue()
public String toString()
toString in class AbstractQueuedSynchronizer