com.atlassian.user.impl.cache
Interface CacheManager


public interface CacheManager


Method Summary
 void flushCaches()
          Flush the contents of all caches registered with the cache manager
 Cache getCache(java.lang.String cacheName)
          Retrieve the cache with a particular name
 void setNonFlushableCaches(java.util.List cacheNames)
          Set the caches that should not be flushed when flushCaches() is called
 

Method Detail

getCache

public Cache getCache(java.lang.String cacheName)
Retrieve the cache with a particular name

Parameters:
cacheName - the unique name of the cache
Returns:
the appropriate cache

flushCaches

public void flushCaches()
Flush the contents of all caches registered with the cache manager


setNonFlushableCaches

public void setNonFlushableCaches(java.util.List cacheNames)
Set the caches that should not be flushed when flushCaches() is called

Parameters:
cacheNames - the names of the cache, each a String


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