Skip navigation links
com.tangosol.coherence.servlet
Class MonolithicHttpSessionCollection
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.AbstractHttpSessionCollection
com.tangosol.coherence.servlet.MonolithicHttpSessionCollection
- All Implemented Interfaces:
- CoherenceHttpSessionCollection, HttpSessionCollection
Deprecated. In releases following 3.6 customization will be declarative.
-
public class MonolithicHttpSessionCollection
- extends AbstractHttpSessionCollection
An implementation of HttpSessionCollection that manages 'monolithic' session objects. A monolithic session object is one that serializes its attributes all together, as a whole, using a single ObjectOutputStream.
The collection uses two configurable named caches to manage its session information in the cluster:
- "session-storage": The cache of clustered session models. This cache should be configured as an unlimited size cache, although it is strongly suggested that it be arranged in a tiered memory/persistent manner by using the overflow map functionality of Coherence, or even using size-limited caching with read-through/write-behind to a database (if sessions should survive a full cluster take-down/restart).
- Version:
- Coherence 2.5
- Author:
- cp 2004.08.16
Method Summary |
protected AbstractHttpSessionModel |
instantiateModel(javax.servlet.http.HttpSession session, java.lang.String sId)
Deprecated. Factory Method: Instantiate a AbstractHttpSessionModel or subclass thereof. |
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, deleteModelFromLocalCaches, destroy, destroyLocalAttributesCache, ensureLocalAttributesCache, enter, enter, exit, exit, fireSessionDestroyedListeners, generateSessionId, get, getActiveCache, getAppControlCache, getAverageModelLifetime, getAverageModelSize, getCacheDelegator, getClusterCache, getCollection, getConfig, getCurrentTime, getDefaultMaxInactiveInterval, getDescription, getDistributionController, getHttpSessionAttributeListeners, getHttpSessionCollectionConfiguration, getHttpSessionListeners, getLocalAttributesCache, getLocalCache, getLocalCacheName, 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, releaseAppOwnership, releaseCache, releaseClusterOwnership, releaseStuckSession, releaseThreadOwnership, remapSessionId, removeBlind, removeHttpSessionAttributeListener, removeHttpSessionListener, resetStatistics, setCacheDelegator, setConfiguration, shutdown, updateSessionStatitics |
MonolithicHttpSessionCollection
public MonolithicHttpSessionCollection()
- Deprecated.
- Default constructor (required).
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
Skip navigation links
Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.