com.atlassian.user.impl.ehcache.util
Class DefaultCacheManager

java.lang.Object
  extended bycom.atlassian.user.impl.ehcache.util.DefaultCacheManager
All Implemented Interfaces:
CacheManager

public class DefaultCacheManager
extends java.lang.Object
implements CacheManager


Constructor Summary
DefaultCacheManager()
           
 
Method Summary
 void flushCaches()
          Flush the contents of all caches registered with the cache manager
 net.sf.ehcache.Cache getCache(java.lang.String name)
          Retrieve the cache with a particular name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCacheManager

public DefaultCacheManager()
Method Detail

getCache

public net.sf.ehcache.Cache getCache(java.lang.String name)
                              throws EntityException
Description copied from interface: CacheManager
Retrieve the cache with a particular name

Specified by:
getCache in interface CacheManager
Parameters:
name - the unique name of the cache
Returns:
the appropriate cache
Throws:
EntityException

flushCaches

public void flushCaches()
Description copied from interface: CacheManager
Flush the contents of all caches registered with the cache manager

Specified by:
flushCaches in interface CacheManager


Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.