|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthelma.util.CacheMap
helma.util.WeakCacheMap
public class WeakCacheMap
A CacheMap subclass that uses WeakHashMaps internally for its rotating tables.
Constructor Summary | |
---|---|
WeakCacheMap(int capacity)
|
|
WeakCacheMap(int capacity,
float loadFactor)
|
Method Summary | |
---|---|
protected java.util.Map |
createTable(int capacity,
float loadFactor)
Overridden to return a java.util.WeakHashMap instance. |
Methods inherited from class helma.util.CacheMap |
---|
clear, containsKey, containsKeys, containsValue, get, getCachedObjects, init, isEmpty, put, remove, setCapacity, shutdown, size, toString, updateProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WeakCacheMap(int capacity)
public WeakCacheMap(int capacity, float loadFactor)
Method Detail |
---|
protected java.util.Map createTable(int capacity, float loadFactor)
createTable
in class CacheMap
capacity
- the initial capacityloadFactor
- the load factor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |