org.makumba.commons
Class SoftNamedResources
java.lang.Object
org.makumba.commons.NamedResources
org.makumba.commons.SoftNamedResources
- All Implemented Interfaces:
- Serializable
public class SoftNamedResources
- extends NamedResources
A NamedResources that keeps its resources as soft references
- See Also:
NamedResources
,
Serialized Form
Methods inherited from class org.makumba.commons.NamedResources |
cleanStaticCache, cleanStaticCache, cleanup, cleanupStaticCache, cleanupStaticCaches, close, closeContent, getActiveCacheNames, getCacheInfo, getResource, getStaticCache, getSupplementary, knowResource, makeStaticCache, makeStaticCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftNamedResources
public SoftNamedResources(String name,
NamedResourceFactory f)
getNameValue
protected NameValue getNameValue(Object name,
Object hash)
- Overrides:
getNameValue
in class NamedResources
getName
public String getName()
- Overrides:
getName
in class NamedResources
size
public int size()
- Overrides:
size
in class NamedResources