|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.concurrent.locks.AbstractOwnableSynchronizer java.util.concurrent.locks.AbstractQueuedSynchronizer org.codehaus.groovy.util.LockableObject org.codehaus.groovy.util.LazyReference
public abstract class LazyReference extends LockableObject
Soft reference with lazy initialization under lock
Constructor Summary | |
LazyReference(ReferenceBundle bundle)
|
Method Summary | |
---|---|
void
|
clear()
|
Object
|
get()
|
Object
|
initValue()
|
String
|
toString()
|
Methods inherited from class LockableObject | |
---|---|
isHeldExclusively, lock, tryAcquire, tryRelease, unlock |
Constructor Detail |
---|
public LazyReference(ReferenceBundle bundle)
Method Detail |
---|
public void clear()
public Object get()
public Object initValue()
public String toString()
Copyright © 2003-2013 The Codehaus. All rights reserved.