|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheManager
| Method Summary | |
|---|---|
Object |
get(String cacheName,
Serializable key)
Retrieves cached object. |
List |
getAllKeys(String cacheName)
Retrieve all keys from the cache. |
void |
put(String cacheName,
Serializable key,
Serializable obj)
Saves object to the cache. |
boolean |
remove(String cacheName,
Serializable key)
Removes cached object from the cache. |
void |
removeAll(String cacheName)
Removes all the entries from the given cache. |
| Method Detail |
|---|
void put(String cacheName,
Serializable key,
Serializable obj)
throws CacheManagerException
cacheName - cache namekey - key of the objectobj - actual object to be cached
CacheManagerException - if any problems arise during the operation
Object get(String cacheName,
Serializable key)
throws CacheManagerException,
NotInCacheException
cacheName - cache namekey - key of the object
CacheManagerException - if any problems arise during the operation
NotInCacheException - if the key does not exist
boolean remove(String cacheName,
Serializable key)
throws CacheManagerException
cacheName - cache namekey - key of the object
CacheManagerException - if any problems arise during the operation
void removeAll(String cacheName)
throws CacheManagerException
cacheName - cache name.
CacheManagerException - if any problems arise during the operation
List getAllKeys(String cacheName)
throws CacheManagerException
cacheName - cache name.
CacheManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||