org.mmbase.cache
Class NodeCache
java.lang.Object
org.mmbase.cache.Cache
org.mmbase.cache.NodeCache
- All Implemented Interfaces:
- EventListener, Map, NodeEventListener, SizeMeasurable
- public class NodeCache
- extends Cache
- implements NodeEventListener
A cache for MMObjectNodes.
- Version:
- $Id: NodeCache.java,v 1.6 2006/06/23 17:01:00 michiel Exp $
- Author:
- Michiel Meeuwissen
| Methods inherited from class org.mmbase.cache.Cache |
checkCachePolicy, clear, contains, containsKey, containsValue, entrySet, equals, get, getByteSize, getByteSize, getCache, getCaches, getCheapByteSize, getCount, getDefaultMaxEntrySize, getHits, getMaxEntrySize, getMisses, getPuts, getRatio, getStats, getTotalByteSize, hashCode, isActive, isEmpty, keySet, main, maxSize, put, putAll, putCache, putCache, setActive, setMaxSize, size, toString, values |
getCache
public static NodeCache getCache()
getName
public String getName()
- Description copied from class:
Cache
- Returns a name for this cache type. Default it is the class
name, but this normally will be overriden.
- Overrides:
getName in class Cache
getDescription
public String getDescription()
- Description copied from class:
Cache
- Gives a description for this cache type. This can be used in
cache overviews.
- Overrides:
getDescription in class Cache
remove
public Object remove(Object key)
- Specified by:
remove in interface Map- Overrides:
remove in class Cache
- See Also:
Map.remove(java.lang.Object)
notify
public void notify(NodeEvent event)
- Specified by:
notify in interface NodeEventListener
MMBase build 1.8.1.20060716