org.mmbase.cache
Class CacheManager.Bean<K,V>
java.lang.Object
org.mmbase.cache.CacheManager.Bean<K,V>
- All Implemented Interfaces:
- Comparable<CacheManager.Bean<?,?>>
- Enclosing class:
- CacheManager
public static class CacheManager.Bean<K,V>
- extends Object
- implements Comparable<CacheManager.Bean<?,?>>
CacheManager.Bean
public CacheManager.Bean(Cache<K,V> c)
getName
public String getName()
getDescription
public String getDescription()
getMaxEntrySize
public int getMaxEntrySize()
getEntrySet
public Set<Map.Entry<K,V>> getEntrySet()
getKeySet
public Set<K> getKeySet()
getHits
public long getHits()
getMisses
public long getMisses()
getPuts
public long getPuts()
getMaxSize
public int getMaxSize()
getSize
public int getSize()
getRatio
public double getRatio()
getStats
public String getStats()
toString
public String toString()
- Overrides:
toString in class Object
isActive
public boolean isActive()
getByteSize
public int getByteSize()
getCheapByteSize
public int getCheapByteSize()
isEmpty
public boolean isEmpty()
getMap
public Map<K,V> getMap()
getCounts
public Map<K,Integer> getCounts()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
compareTo
public int compareTo(CacheManager.Bean<?,?> bean)
- Specified by:
compareTo in interface Comparable<CacheManager.Bean<?,?>>
MMBase 2.0-SNAPSHOT - null