public class ResourceCache<V> extends ResourceCache<org.zkoss.web.util.resource.ResourceInfo,V>
ResourceCaches
and ResourceLoader
.CacheMap.Value<V>
_loader
EXPUNGE_CONTINUE, EXPUNGE_NO, EXPUNGE_STOP, EXPUNGE_YES
DEFAULT_LIFETIME, DEFAULT_MAX_SIZE
Constructor and Description |
---|
ResourceCache(ResourceLoader<V> loader)
Constructor.
|
ResourceCache(ResourceLoader<V> loader,
int initsz)
Constructor.
|
clear, get, getCheckPeriod, getLoader, put, remove, setCheckPeriod
canExpunge, clone, containsKey, containsKeyWithoutExpunge, containsValue, entrySet, equals, expunge, getLifetime, getMaxSize, getWithoutExpunge, hashCode, isEmpty, isEmptyWithoutExpunge, keySet, onExpunge, putAll, setLifetime, setMaxSize, shallExpunge, size, sizeWithoutExpunge, toString, values
public ResourceCache(ResourceLoader<V> loader)
loader
- the loader to load resourcepublic ResourceCache(ResourceLoader<V> loader, int initsz)
loader
- the loader to load resourceinitsz
- the initial size of the mapCopyright © 2005-2011 Potix Corporation. All Rights Reserved.