|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteCacheService
Used to retrieve and update the remote cache.
Method Summary | |
---|---|
ICacheElement |
get(java.lang.String cacheName,
java.io.Serializable key,
long requesterId)
Returns a cache bean from the specified cache; or null if the key does not exist. |
java.util.Set |
getGroupKeys(java.lang.String cacheName,
java.lang.String groupName)
|
java.util.Map |
getMatching(java.lang.String cacheName,
java.lang.String pattern,
long requesterId)
Gets multiple items from the cache matching the pattern. |
java.util.Map |
getMultiple(java.lang.String cacheName,
java.util.Set keys,
long requesterId)
Gets multiple items from the cache based on the given set of keys. |
void |
remove(java.lang.String cacheName,
java.io.Serializable key,
long requesterId)
Removes the given key from the specified cache. |
void |
removeAll(java.lang.String cacheName,
long requesterId)
Remove all keys from the specified cache. |
void |
update(ICacheElement item,
long requesterId)
Puts a cache item to the cache. |
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheService |
---|
dispose, get, getMatching, getMultiple, release, remove, removeAll, update |
Method Detail |
---|
void update(ICacheElement item, long requesterId) throws ObjectExistsException, java.io.IOException
item
- requesterId
-
ObjectExistsException
java.io.IOException
void remove(java.lang.String cacheName, java.io.Serializable key, long requesterId) throws java.io.IOException
cacheName
- key
- requesterId
-
java.io.IOException
void removeAll(java.lang.String cacheName, long requesterId) throws java.io.IOException
cacheName
- requesterId
-
java.io.IOException
ICacheElement get(java.lang.String cacheName, java.io.Serializable key, long requesterId) throws java.io.IOException
Adding the requestor id, allows the cache to determine the sournce of the get.
cacheName
- key
- requesterId
-
java.io.IOException
java.util.Map getMultiple(java.lang.String cacheName, java.util.Set keys, long requesterId) throws java.io.IOException
cacheName
- keys
- requesterId
-
java.io.IOException
java.util.Map getMatching(java.lang.String cacheName, java.lang.String pattern, long requesterId) throws java.io.IOException
cacheName
- pattern
- requesterId
-
java.io.IOException
java.util.Set getGroupKeys(java.lang.String cacheName, java.lang.String groupName) throws java.rmi.RemoteException, java.io.IOException
cacheName
- groupName
-
java.rmi.RemoteException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |