|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used to retrieve and update the cache.
Note: server which implements this interface provides a local cache service,
whereas server which implements IRmiCacheService provides a remote cache
service.
Method Summary | |
void |
dispose(java.lang.String cacheName)
Frees the specified cache. |
ICacheElement |
get(java.lang.String cacheName,
java.io.Serializable key)
Returns a cache bean from the specified cache; or null if the key does not exist. |
void |
release()
Frees all caches. |
void |
remove(java.lang.String cacheName,
java.io.Serializable key)
Removes the given key from the specified cache. |
void |
removeAll(java.lang.String cacheName)
Remove all keys from the sepcified cache. |
void |
update(ICacheElement item)
Puts a cache item to the cache. |
Method Detail |
public void update(ICacheElement item) throws ObjectExistsException, java.io.IOException
ObjectExistsException
java.io.IOException
public ICacheElement get(java.lang.String cacheName, java.io.Serializable key) throws ObjectNotFoundException, java.io.IOException
ObjectNotFoundException
java.io.IOException
public void remove(java.lang.String cacheName, java.io.Serializable key) throws java.io.IOException
java.io.IOException
public void removeAll(java.lang.String cacheName) throws java.io.IOException
java.io.IOException
public void dispose(java.lang.String cacheName) throws java.io.IOException
java.io.IOException
public void release() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |