|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteCacheClient
This defines the behavior expected of a remote cache client. This extends Auxiliary cache which in turn extends ICache.
I'd like generalize this a bit.
| Field Summary |
|---|
| Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
| Method Summary | |
|---|---|
void |
fixCache(IRemoteCacheService remote)
Replaces the current remote cache service handle with the given handle. |
IRemoteCacheListener |
getListener()
This returns the listener associated with this remote cache. |
long |
getListenerId()
Gets the listenerId attribute of the RemoteCacheListener object. |
| Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCache |
|---|
dispose, get, getAuxiliaryCacheAttributes, getCacheName, getGroupKeys, getSize, getStatistics, getStatus, remove, removeAll, update |
| Methods inherited from interface org.apache.jcs.engine.behavior.ICache |
|---|
getStats |
| Methods inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
getCacheType |
| Method Detail |
|---|
void fixCache(IRemoteCacheService remote)
remote - IRemoteCacheService -- the remote server or proxy to the remote serverlong getListenerId()
All requests to the remote cache must include a listener id. This allows the server to avoid sending updates the the listener associated with this client.
IRemoteCacheListener getListener()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||