org.apache.jcs.auxiliary.remote.behavior
Interface IRemoteCacheService

All Superinterfaces:
ICacheService, java.rmi.Remote
All Known Implementing Classes:
RemoteCacheServer, ZombieRemoteCacheService

public interface IRemoteCacheService
extends java.rmi.Remote, ICacheService

Used to retrieve and update the remote cache.

Author:
asmuts

Method Summary
 java.util.Set getGroupKeys(java.lang.String cacheName, java.lang.String groupName)
           
 void remove(java.lang.String cacheName, java.io.Serializable key, byte requesterId)
          Removes the given key from the specified cache.
 void removeAll(java.lang.String cacheName, byte requesterId)
          Remove all keys from the sepcified cache.
 void update(ICacheElement item, byte requesterId)
          Puts a cache item to the cache.
 
Methods inherited from interface org.apache.jcs.engine.behavior.ICacheService
dispose, get, release, remove, removeAll, update
 

Method Detail

update

public void update(ICacheElement item,
                   byte requesterId)
            throws ObjectExistsException,
                   java.io.IOException
Puts a cache item to the cache.

Throws:
ObjectExistsException
java.io.IOException

remove

public void remove(java.lang.String cacheName,
                   java.io.Serializable key,
                   byte requesterId)
            throws java.io.IOException
Removes the given key from the specified cache.

Throws:
java.io.IOException

removeAll

public void removeAll(java.lang.String cacheName,
                      byte requesterId)
               throws java.io.IOException
Remove all keys from the sepcified cache.

Throws:
java.io.IOException

getGroupKeys

public java.util.Set getGroupKeys(java.lang.String cacheName,
                                  java.lang.String groupName)
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException