Package org.codehaus.groovy.util
Class ManagedReference<T>
- java.lang.Object
-
- org.codehaus.groovy.util.ManagedReference<T>
-
- All Implemented Interfaces:
Finalizable
- Direct Known Subclasses:
ManagedConcurrentMap.Entry
public class ManagedReference<T> extends Object implements Finalizable
-
-
Constructor Summary
Constructors Constructor Description ManagedReference(ReferenceBundle bundle, T value)
ManagedReference(ReferenceType type, ReferenceManager rmanager, T value)
-
-
-
Constructor Detail
-
ManagedReference
public ManagedReference(ReferenceType type, ReferenceManager rmanager, T value)
-
ManagedReference
public ManagedReference(ReferenceBundle bundle, T value)
-
-
Method Detail
-
get
public final T get()
-
clear
public final void clear()
-
finalizeReference
public void finalizeReference()
- Specified by:
finalizeReference
in interfaceFinalizable
-
-