|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.util.CacheMap<Object,Object>
org.zkoss.util.resource.ResourceCache<org.zkoss.web.util.resource.ResourceInfo,V>
org.zkoss.web.util.resource.ResourceCache<V>
public class ResourceCache<V>
Used to cache Servlet resources.
It is used with ResourceCaches and ResourceLoader.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.util.CacheMap |
|---|
org.zkoss.util.CacheMap.Value<V> |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.util.resource.ResourceCache |
|---|
_loader |
| Fields inherited from class org.zkoss.util.CacheMap |
|---|
EXPUNGE_CONTINUE, EXPUNGE_NO, EXPUNGE_STOP, EXPUNGE_YES |
| Fields inherited from interface org.zkoss.util.Cache |
|---|
DEFAULT_LIFETIME, DEFAULT_MAX_SIZE |
| Constructor Summary | |
|---|---|
ResourceCache(ResourceLoader<V> loader)
Constructor. |
|
ResourceCache(ResourceLoader<V> loader,
int initsz)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class org.zkoss.util.resource.ResourceCache |
|---|
clear, get, getCheckPeriod, getLoader, put, remove, setCheckPeriod |
| 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 |
| Constructor Detail |
|---|
public ResourceCache(ResourceLoader<V> loader)
loader - the loader to load resource
public ResourceCache(ResourceLoader<V> loader,
int initsz)
loader - the loader to load resourceinitsz - the initial size of the map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||