org.mmbase.cache
Class AggregatedResultCache

Package class diagram package AggregatedResultCache
java.lang.Object
  extended by org.mmbase.cache.Cache<SearchQuery,List<MMObjectNode>>
      extended by org.mmbase.cache.QueryResultCache
          extended by org.mmbase.cache.AggregatedResultCache
All Implemented Interfaces:
Map<SearchQuery,List<MMObjectNode>>, CacheMBean, EventListener, NodeEventListener, RelationEventListener, SizeMeasurable

public class AggregatedResultCache
extends QueryResultCache

Cache for queries like SELECT COUNT(number) AS number FROM mm_news news.

Since:
MMBase-1.7
Version:
$Id: AggregatedResultCache.java 45150 2011-02-10 09:18:12Z michiel $
Author:
Michiel Meeuwissen
See Also:
BasicCloud.getList(org.mmbase.bridge.Query)
To Do:
It is odd that this 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
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.mmbase.cache.Cache
lock, maxEntrySize
 
Method Summary
static AggregatedResultCache getCache()
           
 String getDescription()
           
 String getName()
           
 
Methods inherited from class org.mmbase.cache.QueryResultCache
addReleaseStrategies, addReleaseStrategy, clear, configure, getAverageValueLength, 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

getCache

public static AggregatedResultCache getCache()

getName

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

getDescription

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


MMBase2 Core 2.0-SNAPSHOT - 2014-09-22T23:08