| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String | infoThe descriptive information about this implementation. | 
| protected Manager | managerThe Manager with which this Store is associated. | 
| protected static StringManager | smThe string manager for this package. | 
| protected static java.lang.String | storeNameName to register for this Store, used for logging. | 
| protected java.beans.PropertyChangeSupport | supportThe property change support for this component. | 
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description | 
|---|
| StoreBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyChangeListener(java.beans.PropertyChangeListener listener)Add a property change listener to this component. | 
| protected void | destroyInternal() | 
| java.lang.String[] | expiredKeys()Get only those keys of sessions, that are saved in the Store and are to
be expired. | 
| java.lang.String | getInfo()Return descriptive information about this Store implementation and
the corresponding version number, in the format
 <description>/<version>. | 
| Manager | getManager()Return the Manager instance associated with this Store. | 
| java.lang.String | getStoreName() | 
| protected void | initInternal() | 
| void | processExpires()Called by our background reaper thread to check if Sessions
saved in our store are subject of being expired. | 
| void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)Remove a property change listener from this component. | 
| void | setManager(Manager manager)Set the Manager with which this Store is associated. | 
| protected void | startInternal()Start this component and implement the requirements
of  LifecycleBase.startInternal(). | 
| protected void | stopInternal()Stop this component and implement the requirements
of  LifecycleBase.stopInternal(). | 
| java.lang.String | toString() | 
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, init, removeLifecycleListener, setState, setState, start, stopprotected static final java.lang.String info
protected static java.lang.String storeName
protected java.beans.PropertyChangeSupport support
protected static final StringManager sm
protected Manager manager
public java.lang.String getInfo()
Store<description>/<version>.public java.lang.String getStoreName()
public void setManager(Manager manager)
setManager in interface Storemanager - The newly associated Managerpublic Manager getManager()
StoregetManager in interface Storepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface Storelistener - a value of type PropertyChangeListenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface Storelistener - The listener to removepublic java.lang.String[] expiredKeys()
                               throws java.io.IOException
java.io.IOException - if an input-/output error occurredpublic void processExpires()
protected void initInternal()
initInternal in class LifecycleBaseprotected void startInternal()
                      throws LifecycleException
LifecycleBase.startInternal().startInternal in class LifecycleBaseLifecycleException - if this component detects a fatal error
that prevents this component from being usedprotected void stopInternal()
                     throws LifecycleException
LifecycleBase.stopInternal().stopInternal in class LifecycleBaseLifecycleException - if this component detects a fatal error
that prevents this component from being usedprotected void destroyInternal()
destroyInternal in class LifecycleBasepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.