public class BaseSessionStoreOptimized extends java.lang.Object implements SessionStoreOptimized, java.io.Serializable, javax.servlet.http.HttpSessionBindingListener
SessionStoreOptimized. Subclasses should
invoke markSessionStoreNeeded() any time internal state changed.| Constructor and Description |
|---|
BaseSessionStoreOptimized() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isStoreToSessionNeeded()
Returns the dirty flag.
|
protected void |
markSessionStoreNeeded()
Sets the dirty flag.
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Clears the dirty flag.
|
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Does nothing.
|
public BaseSessionStoreOptimized()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound in interface javax.servlet.http.HttpSessionBindingListenerpublic void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound in interface javax.servlet.http.HttpSessionBindingListenerprotected void markSessionStoreNeeded()
public boolean isStoreToSessionNeeded()
isStoreToSessionNeeded in interface SessionStoreOptimized