org.zkoss.web.util.resource
Class ResourceCache<V>
java.lang.Object
org.zkoss.util.CacheMap<java.lang.Object,java.lang.Object>
org.zkoss.util.resource.ResourceCache<org.zkoss.web.util.resource.ResourceInfo,V>
org.zkoss.web.util.resource.ResourceCache<V>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>, Cache<java.lang.Object,java.lang.Object>
public class ResourceCache<V>
- extends ResourceCache<org.zkoss.web.util.resource.ResourceInfo,V>
Used to cache Servlet resources.
It is used with ResourceCaches
and ResourceLoader
.
- Since:
- 6.0.0
- Author:
- tomyeh
- See Also:
- Serialized Form
Methods inherited from class org.zkoss.util.CacheMap |
canExpunge, clone, containsKey, containsKeyWithoutExpunge, containsValue, entrySet, equals, expunge, getLifetime, getMaxSize, getWithoutExpunge, hashCode, isEmpty, isEmptyWithoutExpunge, keySet, onExpunge, putAll, setLifetime, setMaxSize, shallExpunge, size, sizeWithoutExpunge, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ResourceCache
public ResourceCache(ResourceLoader<V> loader)
- Constructor.
- Parameters:
loader
- the loader to load resource
ResourceCache
public ResourceCache(ResourceLoader<V> loader,
int initsz)
- Constructor.
- Parameters:
loader
- the loader to load resourceinitsz
- the initial size of the map
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.