Package | Description |
---|---|
com.tangosol.coherence.servlet |
Contains classes related to the HTTP Session Replication Module.
|
com.tangosol.coherence.servlet.api23 |
Contains classes related to the HTTP Session Replication Module that are specific to the Servlet 2.3 specification and higher.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpSessionModel
An abstract base class from which implementations of HttpSessionModel can be more easily built.
|
class |
MonolithicHttpSessionModel
This is an implementation of HttpSessionModel that manages its attribute state in a single ('monolithic') serializable unit, allowing session attributes to safely form graphs while avoiding duplication of objects, yet not being able to optimize attribute serialization and deserialization as a result.
|
class |
SplitHttpSessionModel
This is an implementation of HttpSessionModel that manages most of its state in a single serializable unit, but splits out its large attributes -- if any -- into separately managed units.
|
class |
TraditionalHttpSessionModel
An implementation of HttpSessionModel that is managed as a single unit, but optimizes the management of individual attributes within a session for purposes of serialization and deserialization.
|
Modifier and Type | Method and Description |
---|---|
HttpSessionModel |
AbstractHttpSessionCollection.create(javax.servlet.http.HttpSession session)
This method creates a new session, returning the session model for the new session.
|
HttpSessionModel |
HttpSessionCollection.create(javax.servlet.http.HttpSession session)
This method creates a new session, returning the session model for the new session.
|
HttpSessionModel |
HttpSessionCollection.create(javax.servlet.http.HttpSession session, String sId)
This method attempts to create a new session with a specific ID, returning the session model for the new session.
|
HttpSessionModel |
AbstractHttpSessionCollection.get(String sId)
Obtain the HttpSessionModel for the specified session, or null if it does not exist.
|
HttpSessionModel |
HttpSessionCollection.get(String sId)
Obtain the HttpSessionModel for the specified session, or null if it does not exist.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractHttpSessionCollection.LocalController.isSessionAttributeDistributed(HttpSessionModel model, String sName)
Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed.
|
boolean |
AbstractHttpSessionCollection.DistributedController.isSessionAttributeDistributed(HttpSessionModel model, String sName)
Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed.
|
boolean |
AbstractHttpSessionCollection.HybridController.isSessionAttributeDistributed(HttpSessionModel model, String sName)
Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed.
|
boolean |
HttpSessionCollection.SessionDistributionController.isSessionAttributeDistributed(HttpSessionModel model, String sName)
Determine if the specified attribute of the HttpSession associated with the passed session model should be distributed.
|
boolean |
AbstractHttpSessionCollection.LocalController.isSessionDistributed(HttpSessionModel model)
Determine if the HttpSession associated with the passed session model should be distributed.
|
boolean |
AbstractHttpSessionCollection.DistributedController.isSessionDistributed(HttpSessionModel model)
Determine if the HttpSession associated with the passed session model should be distributed.
|
boolean |
AbstractHttpSessionCollection.HybridController.isSessionDistributed(HttpSessionModel model)
Determine if the HttpSession associated with the passed session model should be distributed.
|
boolean |
HttpSessionCollection.SessionDistributionController.isSessionDistributed(HttpSessionModel model)
Determine if the HttpSession associated with the passed session model should be distributed.
|
Modifier and Type | Method and Description |
---|---|
protected HttpSessionModel |
HttpSessionImpl.ensureActiveModel()
Obtain an "active" HttpSessionModel for this session.
|
protected HttpSessionModel |
HttpSessionImpl.ensureUsableModel()
Obtain a "usable" HttpSessionModel for this session, which may or may not be active.
|