org.mmbase.cache
Class RelationsCache

Package class diagram package RelationsCache
java.lang.Object
  extended by org.mmbase.cache.Cache<Integer,List<MMObjectNode>>
      extended by org.mmbase.cache.RelationsCache
All Implemented Interfaces:
Map<Integer,List<MMObjectNode>>, CacheMBean, SizeMeasurable

public class RelationsCache
extends Cache<Integer,List<MMObjectNode>>

Cache from MMObjectNode number to List of InsRel MMObjectNodes instances (relation nodes). Used in MMObjectNode.

Since:
MMBase-1.7
Version:
$Id: RelationsCache.java 45150 2011-02-10 09:18:12Z michiel $
Author:
Michiel Meeuwissen
See Also:
MMObjectNode.getRelations(), MMObjectNode.getRelationNodes()

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 RelationsCache getCache()
           
 String getDescription()
           
 String getName()
           
 
Methods inherited from class org.mmbase.cache.Cache
, checkCachePolicy, clear, configure, contains, containsKey, containsValue, entrySet, equals, get, getAverageValueLength, getByteSize, getByteSize, getCheapByteSize, getCount, getDefaultMaxEntrySize, getHits, getImplementation, getLock, getMaxEntrySize, getMaxSize, getMisses, getPuts, getRatio, getSize, getStats, hashCode, isActive, isEmpty, keySet, maxSize, put, putAll, putCache, remove, reset, setActive, setImplementation, setMaxEntrySize, setMaxSize, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCache

public static RelationsCache getCache()

getName

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

getDescription

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


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