com.partnersoft.system
Class CacheManager

java.lang.Object
  extended by com.partnersoft.system.CacheManager

public class CacheManager
extends java.lang.Object

A tool for managing caches in a system. These are often memory-intensive so it's useful to be able to query them for current size, clear them, etc.

The standard CacheManager is available from SystemServices.cacheManager().

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
CacheManager()
           
 
Method Summary
 void add(Cache cache)
           
 void clearCaches()
           
 int getTotalByteSize()
           
 java.util.List<Cache> listCaches()
           
 void remove(Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManager

public CacheManager()
Method Detail

add

public void add(Cache cache)

remove

public void remove(Cache cache)

listCaches

public java.util.List<Cache> listCaches()

clearCaches

public void clearCaches()

getTotalByteSize

public int getTotalByteSize()