wt.cache
Interface CacheServer
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- CacheManager
- public interface CacheServer
- extends Remote
Cache manager remote interface.
This interface defines the remote methods available between cache managers.
versionID
public static final String versionID
- See Also:
- Constant Field Values
registerSlave
public int registerSlave(CacheServer slave)
throws RemoteException
- Throws:
RemoteException
getEntry
public Object getEntry(Object key)
throws RemoteException
- Throws:
RemoteException
putEntry
public void putEntry(Object key,
Object value,
int slave_id)
throws RemoteException
- Throws:
RemoteException
updateEntry
public void updateEntry(Object cache_key,
Object update_key,
Object update_value,
int slave_id)
throws RemoteException
- Throws:
RemoteException
removeEntry
public void removeEntry(Object key,
int slave_id)
throws RemoteException
- Throws:
RemoteException
ping
public void ping()
throws RemoteException
- Throws:
RemoteException
reference
public void reference(CacheServer self)
throws RemoteException
- Throws:
RemoteException