org.mmbase.cache
Class CacheManager.Bean<K,V>

java.lang.Object
  extended by 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<?,?>>


Constructor Summary
CacheManager.Bean(Cache<K,V> c)
           
 
Method Summary
 int compareTo(CacheManager.Bean<?,?> bean)
           
 boolean equals(Object o)
           
 int getByteSize()
           
 int getCheapByteSize()
           
 Map<K,Integer> getCounts()
           
 String getDescription()
           
 Set<Map.Entry<K,V>> getEntrySet()
           
 long getHits()
           
 Set<K> getKeySet()
           
 Map<K,V> getMap()
           
 int getMaxEntrySize()
           
 int getMaxSize()
           
 long getMisses()
           
 String getName()
           
 long getPuts()
           
 double getRatio()
           
 int getSize()
           
 String getStats()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheManager.Bean

public CacheManager.Bean(Cache<K,V> c)
Method Detail

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