org.mmbase.cache
Class NodeListCache

java.lang.Object
  extended byorg.mmbase.cache.Cache
      extended byorg.mmbase.cache.QueryResultCache
          extended byorg.mmbase.cache.NodeListCache
All Implemented Interfaces:
Map, SizeMeasurable

public class NodeListCache
extends QueryResultCache

Query result cache used for getNodes from MMObjectBuilder. So it contains only simple nodes (no clusternodes)

Since:
MMBase-1.7
Version:
$Id: NodeListCache.java,v 1.4 2005/01/30 16:46:37 nico Exp $
Author:
Michiel Meeuwissen
See Also:
MMTable.getNodes(java.util.Collection)

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Field Summary
 
Fields inherited from class org.mmbase.cache.Cache
maxEntrySize
 
Method Summary
static NodeListCache getCache()
           
 String getDescription()
          Gives a description for this cache type.
 String getName()
          Returns a name for this cache type.
 
Methods inherited from class org.mmbase.cache.QueryResultCache
addReleaseStrategies, addReleaseStrategy, clear, getReleaseStrategy, observerIterator, put, put, remove, toString
 
Methods inherited from class org.mmbase.cache.Cache
checkCachePolicy, 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, putAll, putCache, putCache, setActive, setMaxSize, size, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCache

public static NodeListCache 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


MMBase build 1.8.1.20060716