Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.coherence.servlet
Class TraditionalHttpSessionCollection

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.coherence.servlet.AbstractHttpSessionCollection
          extended by com.tangosol.coherence.servlet.TraditionalHttpSessionCollection

All Implemented Interfaces:
CoherenceHttpSessionCollection, HttpSessionCollection
Direct Known Subclasses:
SplitHttpSessionCollection

Deprecated. In releases following 3.6 customization will be declarative.

public class TraditionalHttpSessionCollection
extends AbstractHttpSessionCollection

An implementation of HttpSessionCollection that manages session objects as individual units that contain all of their own attributes, as if the session were a single serializable object, however with some optimizations for attribute serialization and deserialization.

The collection uses two configurable named caches to manage its session information in the cluster:

Version:
Coherence 2.3
Author:
cp 2003.08.20

Nested Class Summary

 

Nested classes/interfaces inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionCollection
AbstractHttpSessionCollection.ApplicationScopeController, AbstractHttpSessionCollection.DistributedController, AbstractHttpSessionCollection.ExitAgent, AbstractHttpSessionCollection.ExitObserver, AbstractHttpSessionCollection.ExitTask, AbstractHttpSessionCollection.GlobalScopeController, AbstractHttpSessionCollection.HybridController, AbstractHttpSessionCollection.LocalController

 

Nested classes/interfaces inherited from interface com.tangosol.coherence.servlet.HttpSessionCollection
HttpSessionCollection.AttributeScopeController, HttpSessionCollection.SessionDistributionController

 

Field Summary

 

Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionCollection
CACHENAME_DEATHCERTS, CACHENAME_LOCAL_ATTRIBUTES, CACHENAME_LOCAL_SESSIONS, CACHENAME_SESSIONS, CTX_INIT_ENABLE_SESSION_ACCESS_DEBUG_LOGGING, CTX_INIT_SESSION_ACCESS_DEBUG_LOGGING_FILTER, SERVICENAME_OWNERSHIP

 

Constructor Summary
TraditionalHttpSessionCollection()
          Deprecated. Default constructor (required).

 

Method Summary
 Serializer getSerializer()
          Deprecated. Get the serializer used to serialize and deserialize session attributes.
protected  AbstractHttpSessionModel instantiateModel(javax.servlet.http.HttpSession session, java.lang.String sId)
          Deprecated. Factory Method: Instantiate a AbstractHttpSessionModel or subclass thereof.
 void setSerializer(Serializer serializer)
          Deprecated. Set the serializer used to serialize and deserialize session attributes.
 java.lang.String toString()
          Deprecated. Returns a string representation of the object.

 

Methods inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionCollection
activate, addHttpSessionAttributeListener, addHttpSessionListener, configure, create, create, create, deleteModelFromLocalCaches, destroy, destroyLocalAttributesCache, ensureLocalAttributesCache, enter, enter, exit, exit, fireSessionDestroyedListeners, generateSessionId, get, getActiveCache, getAppControlCache, getAverageModelLifetime, getAverageModelSize, getCacheDelegator, getClusterCache, getCollection, getConfig, getCurrentTime, getDeathCertCache, getDefaultMaxInactiveInterval, getDescription, getDistributionController, getHttpSessionAttributeListeners, getHttpSessionCollectionConfiguration, getHttpSessionListeners, getLocalAttributesCache, getLocalCache, getMaxModelSize, getMinModelSize, getModel, getModelDeaths, getModelUpdates, getOwnedCache, getOwnedModel, getScopeController, getSessionAccessDebugLoggingFilter, getSessionExpiryFilter, getSessionIdGenerator, getSessionIdLength, getSessionOwnershipInfo, getStickyCache, getStickyExitTaskCache, getStickyService, isActive, isAllowLocalAttributes, isAppLockingEnforced, isAssumeLocality, isEnableAttributeListenerOptimization, isEnabledSessionAccessDebugLogging, isEnableSuspectAttributes, isExistent, isMemberLockingEnforced, isOwned, isOwnershipSticky, isSessionLockingEnforced, isStrict, isStuck, isThreadLockingEnforced, iterateIds, iteratePotentiallyExpiredIds, logInvalidationExceptions, obtainAppOwnership, obtainClusterOwnership, obtainThreadOwnership, onModelUpdate, passivate, postCreate, putBlind, registerSessionInvalidationWithDeathCertCache, releaseAppOwnership, releaseCache, releaseClusterOwnership, releaseStuckSession, releaseThreadOwnership, removeBlind, removeHttpSessionAttributeListener, removeHttpSessionListener, resetStatistics, setCacheDelegator, setConfiguration, shutdown

 

Constructor Detail

TraditionalHttpSessionCollection

public TraditionalHttpSessionCollection()
Deprecated. 
Default constructor (required).

Method Detail

toString

public java.lang.String toString()
Deprecated. 
Returns a string representation of the object.
Overrides:
toString in class AbstractHttpSessionCollection
Returns:
a string representation of the object

instantiateModel

protected AbstractHttpSessionModel instantiateModel(javax.servlet.http.HttpSession session,
                                                    java.lang.String sId)
Deprecated. 
Factory Method: Instantiate a AbstractHttpSessionModel or subclass thereof.
Specified by:
instantiateModel in class AbstractHttpSessionCollection
Parameters:
session - the session that delegates to this model
sId - the session ID
Returns:
a new instance of AbstractHttpSessionModel or subclass thereof

getSerializer

public Serializer getSerializer()
Deprecated. 
Get the serializer used to serialize and deserialize session attributes.
Returns:
a serializer; never null

setSerializer

public void setSerializer(Serializer serializer)
Deprecated. 
Set the serializer used to serialize and deserialize session attributes.
Parameters:
serializer - a serializer; must not be null

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.