wt.session
Class SessionCache

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended bywt.util.RMIServer
              extended bywt.cache.CacheManager
                  extended bywt.session.SessionCache
All Implemented Interfaces:
CacheServer, Remote, Serializable, Unreferenced

public class SessionCache
extends CacheManager

A multi-level cache of SessionContext objects.

See Also:
CacheManager, Serialized Form

Field Summary
private static String versionID
           
 
Fields inherited from class wt.cache.CacheManager
MASTER
 
Fields inherited from class wt.util.RMIServer
csf, ssf
 
Fields inherited from class java.rmi.server.RemoteServer
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
SessionCache()
          Construct a new SessionCache.
 
Method Summary
 Object updateEntry(Object current_value, Object update_key, Object update_value)
          Overrides CacheManager.update.
 
Methods inherited from class wt.cache.CacheManager
checkAccess, get, getDefaultName, getDefaultSize, getEntry, isCacheHost, overflow, ping, put, putEntry, putEntry, reference, registerSlave, remove, remove, removeEntry, removeEntry, reset, unreferenced, update, updateEntry
 
Methods inherited from class wt.util.RMIServer
clone, exportObject, exportObject, exportObject, getClientSocketFactory, getPort, getServerSocketFactory, getStub, isHostInList, isLocalHost, setPort, writeReplace
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values
Constructor Detail

SessionCache

public SessionCache()
             throws RemoteException
Construct a new SessionCache. CacheManager defaults are used for name, size, and location of master cache.

Method Detail

updateEntry

public Object updateEntry(Object current_value,
                          Object update_key,
                          Object update_value)
Overrides CacheManager.update. Update a single entry in the session cache hashtable.

Overrides:
updateEntry in class CacheManager
Parameters:
update_key - the key for what is being updated in the entry
update_value - the updated value
See Also:
CacheManager