sunlabs.brazil.session
Class SerializableCacheManager
java.lang.Object
  |
  +--sunlabs.brazil.session.SessionManager
        |
        +--sunlabs.brazil.session.CacheManager
              |
              +--sunlabs.brazil.session.SerializableCacheManager
- All Implemented Interfaces: 
- Handler, Serializable, sun.misc.SignalHandler
- public class SerializableCacheManager- extends CacheManager- implements Handler, Serializable, sun.misc.SignalHandler
Serializable version of the CacheManager.  Saves out the pool of
 hashtables upon exit, restoring them on startup.
 This provides the same capability as SerialPersist does for
 the default session manager.
- See Also:
- Serialized Form
 
| Fields inherited from interface sun.misc.SignalHandler | 
| SIG_DFL, SIG_IGN | 
 
 
| Method Summary | 
|  void | handle(sun.misc.Signal sig)
 | 
|  boolean | init(Server server,
     String prefix)Initializes the handler.
 | 
 
 
 
 
| Methods inherited from interface sunlabs.brazil.server.Handler | 
| respond | 
 
SerializableCacheManager
public SerializableCacheManager()
init
public boolean init(Server server,
                    String prefix)
- Description copied from interface: Handler
- Initializes the handler.
 
- 
- Specified by:
- initin interface- Handler
- Overrides:
- initin class- CacheManager
 
- 
- Parameters:
- server- The HTTP server that created this- Handler.
		Typical- Handlers will use- Server.propsto obtain run-time configuration information.
- prefix- The handlers name.
		The string this- Handlermay prepend to all
		of the keys that it uses to extract configuration information
		from- Server.props.  This is set (by the- Serverand- ChainHandler) to help avoid configuration parameter
		namespace collisions.
- Returns:
- trueif this- Handlerinitialized
		successfully,- falseotherwise.  If- falseis returned, this- Handlershould not be used.
 
handle
public void handle(sun.misc.Signal sig)
- 
- Specified by:
- handlein interface- sun.misc.SignalHandler
 
-