public interface IRemoteCacheClient<K,V> extends AuxiliaryCache<K,V>
I'd like generalize this a bit.
ICacheType.CacheType
Modifier and Type | Method and Description |
---|---|
void |
fixCache(ICacheServiceNonLocal<?,?> remote)
Replaces the current remote cache service handle with the given handle.
|
IRemoteCacheListener<K,V> |
getListener()
This returns the listener associated with this remote cache.
|
long |
getListenerId()
Gets the listenerId attribute of the RemoteCacheListener object.
|
getAuxiliaryCacheAttributes, getKeySet, getStatistics, setCacheEventLogger, setElementSerializer
dispose, get, getCacheName, getMatching, getMultiple, getSize, getStats, getStatus, remove, removeAll, setKeyMatcher, update
getCacheType
void fixCache(ICacheServiceNonLocal<?,?> remote)
remote
- ICacheServiceNonLocal -- 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<K,V> getListener()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.