public interface SessionStoreOptimized
session
, only storing the objects when they require
storage due to a change in internal state.Modifier and Type | Method and Description |
---|---|
boolean |
isStoreToSessionNeeded()
Queried by the
StateObjectManager to see if the
object actually needs to be stored. |
boolean isStoreToSessionNeeded()
StateObjectManager
to see if the
object actually needs to be stored. Objects that implement this interface should store an
internal flag. The flag should be set when any change to the object's internal state occurs.
The flag should be cleared when the object is stored into the session (typically, by
implementing HttpSessionBindingListener
.