org.mmbase.cache
Class RelatedNodesCache
java.lang.Object
org.mmbase.cache.Cache<SearchQuery,List<MMObjectNode>>
org.mmbase.cache.QueryResultCache
org.mmbase.cache.RelatedNodesCache
- All Implemented Interfaces:
- Map<SearchQuery,List<MMObjectNode>>, CacheMBean, EventListener, NodeEventListener, RelationEventListener, SizeMeasurable
public class RelatedNodesCache
- extends QueryResultCache
Query result cache used for getRelatedNodes from MMObjectNodes. Entries are invalidated on the
normal QueryResultCache way, but also if the one node from which the related nodes were requested is
removed from the Node Cache itself.
- Since:
- MMBase-1.7
- Version:
- $Id: RelatedNodesCache.java 45150 2011-02-10 09:18:12Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
MMObjectNode.getRelatedNodes()
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| 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 |
getCache
public static RelatedNodesCache 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 - 2013-03-30T06:36