org.mmbase.cache
Class NodeListCache
java.lang.Object
org.mmbase.cache.Cache<SearchQuery,List<MMObjectNode>>
org.mmbase.cache.QueryResultCache
org.mmbase.cache.NodeListCache
- All Implemented Interfaces:
- Map<SearchQuery,List<MMObjectNode>>, CacheMBean, EventListener, NodeEventListener, RelationEventListener, SizeMeasurable
public class NodeListCache
- extends QueryResultCache
Query result cache used for getNodes from MMObjectBuilder. So it contains only simple nodes (no
clusternodes).
The query can contain more than one Step, the queried fields are, however, excactly all
fields of one of the steps (the 'node step').
- Since:
- MMBase-1.7
- Version:
- $Id: NodeListCache.java 34936 2009-05-04 14:41:51Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
MMTable.getNodes(java.util.Collection)
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| 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 |
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.
- Specified by:
getName in interface CacheMBean- Overrides:
getName in class Cache<SearchQuery,List<MMObjectNode>>
getDescription
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- Overrides:
getDescription in class Cache<SearchQuery,List<MMObjectNode>>
MMBase 2.0-SNAPSHOT - null