org.jboss.ha.httpsession.interfaces
public interface: SerializableHttpSession [javadoc |
source]
All Implemented Interfaces:
Serializable
All Known Implementing Classes:
ClusterState, ClusteredSession, ClusteredSession, ClusteredSession
Tag interface to make HttpSession serializable. Used to store the clustered HttpSession
in an entity bean.
Furthermore, it adds an areAttributesModified method used by the entity bean
to determine if the content attributes have been modified.
WARNING: the areAttributesModified method should not compare the creation and last
access time but only the attributes and other specific values. Otherwise
the state will be considered as changed for every request (which will cause
to much cluster traffic.
| Field Summary |
|---|
| static final long | serialVersionUID | The serialVersionUID |
| Method from org.jboss.ha.httpsession.interfaces.SerializableHttpSession Detail: |
public boolean areAttributesModified(SerializableHttpSession previousVersion)
Method used by the entity bean
to determine if the content attributes have been modified.
WARNING: the areAttributesModified method should not compare the creation and last
access time but only the attributes and other specific values. Otherwise
the state will be considered as changed for every request (which will cause
to much cluster traffic. |
public long getContentCreationTime()
|
public long getContentLastAccessTime()
|