Method Summary |
|
public void | addLifecycleListener(LifecycleListener listener) Add a lifecycle event listener to this component. |
public void | addPropertyChangeListener(PropertyChangeListener listener) Add a property change listener to this component. |
public LifecycleListener[] | findLifecycleListeners() Get the lifecycle listeners associated with this lifecycle. |
public int | getCheckInterval() Return the check interval (in seconds) for this Store. |
public int | getDebug() Return the debugging detail level for this Store. |
public String | getInfo() Return the info for this Store. |
public Manager | getManager() Return the Manager with which the Store is associated. |
public String | getStoreName() Return the name for this Store, used for logging. |
public String | getThreadName() Return the thread name for this Store. |
protected void | log(String message) Log a message on the Logger associated with our Container (if any). |
protected void | processExpires() Called by our background reaper thread to check if Sessions
saved in our store are subject of being expired. |
public void | removeLifecycleListener(LifecycleListener listener) Remove a lifecycle event listener from this component. |
public void | removePropertyChangeListener(PropertyChangeListener listener) Remove a property change listener from this component. |
public void | run() The background thread that checks for session timeouts and shutdown. |
public void | setCheckInterval(int checkInterval) Set the check interval (in seconds) for this Store. |
public void | setDebug(int debug) Set the debugging detail level for this Store. |
public void | setManager(Manager manager) Set the Manager with which this Store is associated. |
public void | start() Prepare for the beginning of active use of the public methods of this
component. |
public void | stop() Gracefully terminate the active use of the public methods of this
component. |
protected void | threadSleep() Sleep for the duration specified by the checkInterval
property. |
protected void | threadStart() Start the background thread that will periodically check for
session timeouts. |
protected void | threadStop() Stop the background thread that is periodically checking for
session timeouts. |