com.atlassian.crowd.manager.cache
Interface CacheManager
- All Known Implementing Classes:
- CacheManagerEhcache
public interface CacheManager
DEFAULT_CACHE_TIME_IN_MINUTES
static final int DEFAULT_CACHE_TIME_IN_MINUTES
- See Also:
- Constant Field Values
put
void put(String cacheName,
Serializable key,
Serializable obj)
throws CacheManagerException
- Throws:
CacheManagerException
get
Object get(String cacheName,
Serializable key)
throws CacheManagerException,
NotInCacheException
- Throws:
CacheManagerException
NotInCacheException
remove
boolean remove(String cacheName,
Serializable key)
throws CacheManagerException
- Throws:
CacheManagerException
removeAll
void removeAll(String cacheName)
throws CacheManagerException
- Throws:
CacheManagerException
getAllKeys
List getAllKeys(String cacheName)
throws CacheManagerException
- Throws:
CacheManagerException
put
void put(String key,
Serializable obj)
throws CacheManagerException
- Throws:
CacheManagerException
get
Object get(String key)
throws CacheManagerException,
NotInCacheException
- Throws:
CacheManagerException
NotInCacheException
remove
boolean remove(String key)
throws CacheManagerException
- Throws:
CacheManagerException
removeAll
void removeAll()
throws CacheManagerException
- Throws:
CacheManagerException
getAllKeys
List getAllKeys()
throws CacheManagerException
- Throws:
CacheManagerException
Copyright © 2010 Atlassian Pty Ltd. All Rights Reserved.