Class MultilevelCache

  extended by org.mmbase.cache.Cache<SearchQuery,List<MMObjectNode>>
      extended by org.mmbase.cache.QueryResultCache
          extended by org.mmbase.cache.MultilevelCache
All Implemented Interfaces:
Map<SearchQuery,List<MMObjectNode>>, CacheMBean, EventListener, NodeEventListener, RelationEventListener, SizeMeasurable

public class MultilevelCache
extends QueryResultCache

This cache handles multilevel query results from the bridge, namely only for the 'getList' functions of BasicCloud

$Id: 34936 2009-05-04 14:41:51Z michiel $
Daniel Ockeloen, Michiel Meeuwissen
See Also:
To Do:
It is odd that this one query cache is called in the bridge implementation and not in the core.

Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Field Summary
Fields inherited from class org.mmbase.cache.Cache
lock, maxEntrySize
Method Summary
static MultilevelCache 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, getAvarageValueLength, getReleaseStrategy, nodeChanged, notify, notify, put, remove, toString
Methods inherited from class org.mmbase.cache.Cache
checkCachePolicy, contains, containsKey, containsValue, entrySet, equals, get, getByteSize, getByteSize, getCheapByteSize, getCount, getDefaultMaxEntrySize, getHits, getImplementation, getLock, getMaxEntrySize, getMaxSize, getMisses, getPuts, getRatio, getSize, getStats, hashCode, isActive, isEmpty, keySet, maxSize, putAll, putCache, reset, setActive, setImplementation, setMaxEntrySize, setMaxSize, size, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Method Detail


public static MultilevelCache getCache()


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.

Specified by:
getName in interface CacheMBean
getName in class Cache<SearchQuery,List<MMObjectNode>>


public String getDescription()
Description copied from class: Cache
Gives a description for this cache type. This can be used in cache overviews.

Specified by:
getDescription in interface CacheMBean
getDescription in class Cache<SearchQuery,List<MMObjectNode>>

MMBase 2.0-SNAPSHOT - null