org.mmbase.cache
Class NodeCache

Package class diagram package NodeCache
java.lang.Object
  extended by org.mmbase.cache.Cache<Integer,MMObjectNode>
      extended by org.mmbase.cache.NodeCache
All Implemented Interfaces:
Map<Integer,MMObjectNode>, CacheMBean, EventListener, NodeEventListener, SizeMeasurable

public class NodeCache
extends Cache<Integer,MMObjectNode>
implements NodeEventListener

A cache for MMObjectNodes.

Version:
$Id: NodeCache.java 45150 2011-02-10 09:18:12Z michiel $
Author:
Michiel Meeuwissen

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.mmbase.cache.Cache
lock, maxEntrySize
 
Method Summary
static NodeCache getCache()
           
 String getDescription()
           
 String getName()
           
 void notify(NodeEvent event)
           
protected  void purge()
           
 
Methods inherited from class org.mmbase.cache.Cache
, checkCachePolicy, clear, configure, contains, containsKey, containsValue, entrySet, equals, get, getAverageValueLength, getByteSize, getByteSize, getCheapByteSize, getCount, getDefaultMaxEntrySize, getHits, getImplementation, getLock, getMaxEntrySize, getMaxSize, getMisses, getPuts, getRatio, getSize, getStats, hashCode, isActive, isEmpty, keySet, maxSize, put, putAll, putCache, remove, reset, setActive, setImplementation, setMaxEntrySize, setMaxSize, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCache

public static NodeCache getCache()

getName

public String getName()
Specified by:
getName in interface CacheMBean
Overrides:
getName in class Cache<Integer,MMObjectNode>

getDescription

public String getDescription()
Specified by:
getDescription in interface CacheMBean
Overrides:
getDescription in class Cache<Integer,MMObjectNode>

purge

protected void purge()

notify

public void notify(NodeEvent event)
Specified by:
notify in interface NodeEventListener


MMBase2 Core 2.0-SNAPSHOT - 2013-11-29T11:08