public interface Store
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyChangeListener(PropertyChangeListener listener)Add a property change listener to this component. | 
| void | clear()Remove all Sessions from this Store. | 
| String | getInfo() | 
| Manager | getManager() | 
| int | getSize() | 
| String[] | keys() | 
| Session | load(String id)Load and return the Session associated with the specified session
 identifier from this Store, without removing it. | 
| void | remove(String id)Remove the Session with the specified session identifier from
 this Store, if present. | 
| void | removePropertyChangeListener(PropertyChangeListener listener)Remove a property change listener from this component. | 
| void | save(Session session)Save the specified Session into this Store. | 
| void | setManager(Manager manager)Set the Manager associated with this Store. | 
String getInfo()
<description>/<version>.Manager getManager()
void setManager(Manager manager)
manager - The Manager which will use this Store.int getSize()
            throws IOException
IOException - if an input/output error occursvoid addPropertyChangeListener(PropertyChangeListener listener)
listener - The listener to addString[] keys() throws IOException
IOException - if an input/output error occurredSession load(String id) throws ClassNotFoundException, IOException
null.id - Session identifier of the session to loadClassNotFoundException - if a deserialization error occursIOException - if an input/output error occursvoid remove(String id) throws IOException
id - Session identifier of the Session to be removedIOException - if an input/output error occursvoid clear()
           throws IOException
IOException - if an input/output error occursvoid removePropertyChangeListener(PropertyChangeListener listener)
listener - The listener to removevoid save(Session session) throws IOException
session - Session to be savedIOException - if an input/output error occursCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.