org.mmbase.cache
Class AggregatedResultCache

java.lang.Object
  extended byorg.mmbase.cache.Cache
      extended byorg.mmbase.cache.QueryResultCache
          extended byorg.mmbase.cache.AggregatedResultCache
All Implemented Interfaces:
Map, 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,v 1.3 2005/01/30 16:46:37 nico Exp $
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 inherited from class java.util.Map
Map.Entry
 
Field Summary
 
Fields inherited from class org.mmbase.cache.Cache
maxEntrySize
 
Method Summary
static AggregatedResultCache 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 AggregatedResultCache 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