|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.laures.cewolf.storage.SessionStorageGroup
public class SessionStorageGroup
A container for any images for an user session. This is needed to ensure that one user can not access other users' images.
Constructor Summary | |
---|---|
SessionStorageGroup()
Constructor registers this storage group for the |
Method Summary | |
---|---|
protected void |
cleanup()
Clean up (remove) all expired charts from this storage group. |
SessionStorageItem |
get(java.lang.Object chartId)
Get the storage for a chart |
boolean |
isEmpty()
If the storage group is empty |
void |
put(java.lang.String chartId,
SessionStorageItem item)
Add a chart to the storage |
void |
remove(java.lang.String chartId)
Remove one chart item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionStorageGroup()
Method Detail |
---|
public SessionStorageItem get(java.lang.Object chartId)
chartId
- The id of a chart
public void put(java.lang.String chartId, SessionStorageItem item)
chartId
- The iditem
- The storage itempublic void remove(java.lang.String chartId)
chartId
- protected void cleanup()
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |