com.dotmarketing.business.mbeans
Class CacheInfo

java.lang.Object
  extended by com.dotmarketing.business.mbeans.CacheInfo
All Implemented Interfaces:
CacheInfoMBean

public class CacheInfo
extends java.lang.Object
implements CacheInfoMBean


Constructor Summary
CacheInfo(DotJBCacheAdministratorImpl cache)
           
 
Method Summary
 java.lang.String printKeys(java.lang.String group)
           
 java.lang.String printRegionInfo()
           
 java.lang.String regionCacheMemorySize(java.lang.String group)
          Pass in a group and this will return the memory it was consuing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheInfo

public CacheInfo(DotJBCacheAdministratorImpl cache)
Method Detail

printRegionInfo

public java.lang.String printRegionInfo()
Specified by:
printRegionInfo in interface CacheInfoMBean

printKeys

public java.lang.String printKeys(java.lang.String group)
Specified by:
printKeys in interface CacheInfoMBean

regionCacheMemorySize

public java.lang.String regionCacheMemorySize(java.lang.String group)
Description copied from interface: CacheInfoMBean
Pass in a group and this will return the memory it was consuing. The method has to flush the group to figure out memory usage.

Specified by:
regionCacheMemorySize in interface CacheInfoMBean
Returns:


Copyright © 2010 dotCMS Inc. All Rights Reserved.