org.mmbase.bridge.jsp.taglib.util
Class AttributeCache

java.lang.Object
  extended by org.mmbase.cache.Cache<String,Attribute>
      extended by org.mmbase.bridge.jsp.taglib.util.AttributeCache
All Implemented Interfaces:
Map<String,Attribute>, CacheMBean, SizeMeasurable

 class AttributeCache
extends Cache<String,Attribute>

Cache which relates unparsed Attribute Strings with parsed `Attribute' objects. It is not sure that this cache actually increases performance. Perhaps we can as well do without.


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
 
Constructor Summary
AttributeCache()
           
 
Method Summary
 Attribute getAttribute(String att)
           
 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.Cache
checkCachePolicy, clear, contains, containsKey, containsValue, entrySet, equals, get, getAvarageValueLength, 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, setMaxEntrySize, setMaxSize, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeCache

AttributeCache()
Method Detail

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<String,Attribute>

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<String,Attribute>

getAttribute

public final Attribute getAttribute(String att)
                             throws JspTagException
Throws:
JspTagException


MMBase 2.0-SNAPSHOT - null