wt.series
Class SeriesCache.ContextMessenger
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
wt.util.RMIServer
wt.cache.CacheManager
wt.cache.Messenger
wt.series.SeriesCache.ContextMessenger
- All Implemented Interfaces:
- CacheServer, DirtyMap.DirtyMapListener, Remote, Serializable, Unreferenced
- Enclosing class:
- SeriesCache
- public static final class SeriesCache.ContextMessenger
- extends Messenger
- implements DirtyMap.DirtyMapListener
- See Also:
- Serialized Form
Fields inherited from class wt.cache.Messenger |
|
Methods inherited from class wt.cache.CacheManager |
checkAccess, get, getDefaultName, getEntry, isCacheHost, overflow, ping, put, putEntry, reference, registerSlave, remove, remove, removeEntry, unreferenced, update, updateEntry, updateEntry |
Methods inherited from class wt.util.RMIServer |
clone, exportObject, exportObject, exportObject, getClientSocketFactory, getPort, getServerSocketFactory, getStub, isHostInList, isLocalHost, setPort, writeReplace |
SeriesCache.ContextMessenger
public SeriesCache.ContextMessenger()
throws RemoteException
mappingAdded
public void mappingAdded(Object key,
Object value,
Object placeholder)
- A mapping was added to the local cache. Don't need to notify remote caches
because there is nothing additional to do after adding the mapping.
- Specified by:
mappingAdded
in interface DirtyMap.DirtyMapListener
mappingRemoved
public void mappingRemoved(Object key)
- A mapping was removed from the local cache. Make sure the stale entry is removed
from remote caches. Not applicable here because we don't remove values. If the
cache needs to be reinitialized clear it and reload entirely.
- Specified by:
mappingRemoved
in interface DirtyMap.DirtyMapListener
mappingsAdded
public void mappingsAdded(Map mappings,
Object placeholder)
- Specified by:
mappingsAdded
in interface DirtyMap.DirtyMapListener
mappingsRemoved
public void mappingsRemoved(Collection keys)
- Specified by:
mappingsRemoved
in interface DirtyMap.DirtyMapListener