| Package | Description |
|---|---|
| com.tangosol.coherence.servlet |
Contains classes related to the HTTP Session Replication Module.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
|---|---|
AbstractHttpSessionModel |
AbstractHttpSessionCollection.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.
|
AbstractHttpSessionModel |
AttributeHolder.getModel()
Return the AbstractHttpSessionModel to which this AttributeHolder
belongs.
|
protected AbstractHttpSessionModel |
AbstractHttpSessionCollection.getModel(String sId)
Obtain the specified session model.
|
AbstractHttpSessionModel |
DefaultCacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection) |
AbstractHttpSessionModel |
SessionLocalBackingMapCacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection) |
AbstractHttpSessionModel |
CacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection)
Retrieve a model from the cluster cache
|
AbstractHttpSessionModel |
DefaultCacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection,
boolean fLite) |
AbstractHttpSessionModel |
SessionLocalBackingMapCacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection,
boolean fLite) |
AbstractHttpSessionModel |
CacheDelegator.getModel(String sId,
AbstractHttpSessionCollection collection,
boolean fLite)
Retrieve a model from the cluster cache
|
protected AbstractHttpSessionModel |
AbstractHttpSessionCollection.getModel(String sId,
boolean fLite)
Obtain the specified session model.
|
protected AbstractHttpSessionModel |
AbstractHttpSessionCollection.getOwnedModel(String sId)
Obtain the specified session model that this thread owns, otherwise
throw an exception.
|
protected AbstractHttpSessionModel |
MonolithicHttpSessionCollection.instantiateModel(javax.servlet.http.HttpSession session,
String sId)
Factory Method: Instantiate a AbstractHttpSessionModel or subclass
thereof.
|
protected AbstractHttpSessionModel |
TraditionalHttpSessionCollection.instantiateModel(javax.servlet.http.HttpSession session,
String sId)
Factory Method: Instantiate a AbstractHttpSessionModel or subclass
thereof.
|
protected abstract AbstractHttpSessionModel |
AbstractHttpSessionCollection.instantiateModel(javax.servlet.http.HttpSession session,
String sId)
Factory Method: Instantiate a AbstractHttpSessionModel or subclass
thereof.
|
protected AbstractHttpSessionModel |
SplitHttpSessionCollection.instantiateModel(javax.servlet.http.HttpSession session,
String sId)
Factory Method: Instantiate a AbstractHttpSessionModel or subclass
thereof.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCacheDelegator.deleteModel(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
LocalSessionCacheDelegator.deleteModel(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
SessionLocalBackingMapCacheDelegator.deleteModel(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
CacheDelegator.deleteModel(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model)
Delete the session from the cluster cache.
|
protected void |
AbstractHttpSessionCollection.fireSessionDestroyedListeners(String sId,
AbstractHttpSessionModel model) |
void |
DefaultCacheDelegator.flush(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
LocalSessionCacheDelegator.flush(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
SessionLocalBackingMapCacheDelegator.flush(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model) |
void |
CacheDelegator.flush(AbstractHttpSessionCollection collection,
AbstractHttpSessionModel model)
Perform a flush operation of the session onto the cluster cache
|
void |
DefaultCacheDelegator.optimisticModelUpdate(AbstractHttpSessionModel model) |
void |
LocalSessionCacheDelegator.optimisticModelUpdate(AbstractHttpSessionModel model) |
void |
SessionLocalBackingMapCacheDelegator.optimisticModelUpdate(AbstractHttpSessionModel model) |
void |
CacheDelegator.optimisticModelUpdate(AbstractHttpSessionModel model)
Perform an optimistic model update in the cache.
|
void |
DefaultCacheDelegator.putModel(AbstractHttpSessionModel model) |
void |
LocalSessionCacheDelegator.putModel(AbstractHttpSessionModel model) |
void |
SessionLocalBackingMapCacheDelegator.putModel(AbstractHttpSessionModel model) |
void |
CacheDelegator.putModel(AbstractHttpSessionModel model)
Put a session model in the cache.
|
protected void |
AbstractHttpSessionCollection.remapSessionId(AbstractHttpSessionModel model) |
protected void |
AttributeHolder.setModel(AbstractHttpSessionModel model) |
void |
DefaultCacheDelegator.updateModelTimestamp(AbstractHttpSessionModel model) |
void |
SessionLocalBackingMapCacheDelegator.updateModelTimestamp(AbstractHttpSessionModel model) |
void |
CacheDelegator.updateModelTimestamp(AbstractHttpSessionModel model)
Update a session model timestamp in the cache.
|
protected void |
AbstractHttpSessionCollection.updateSessionStatitics(String sId,
AbstractHttpSessionModel model) |
| Constructor and Description |
|---|
AttributeHolder(AbstractHttpSessionModel model) |
AttributeHolder(String sName,
Object oValue,
AbstractHttpSessionModel model)
Construct an AttributeHolder for a value.
|