|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.management.HttpSessionManager
public class HttpSessionManager
HttpSessionManagerMBean implementation class.
Field Summary |
---|
Fields inherited from interface com.tangosol.coherence.servlet.management.HttpSessionManagerMBean |
---|
OBJECT_TYPE |
Constructor Summary | |
---|---|
HttpSessionManager(SessionHelper helper, SessionReaperStatistics reaperStatistics) Create a new HttpSessionManager object. |
Method Summary | |
---|---|
void |
clearStoredConfiguration() Removes the stored configuration which is used to check configuration consistency. |
protected AbstractHttpSessionCollection |
getAbstractHttpSessionCollection() Return the AbstractHttpSessionCollection currently in use. |
long |
getAverageReapDuration() Gets the average reap duration since the statistics was reset. |
long |
getAverageReapedSessions() Gets the average number of reaped sessions in a reap cycle since the statistics was reset. |
java.lang.String |
getCollectionClassName() Return the fully qualified class name of the HttpSessionCollection implementation in use. |
java.lang.String |
getFactoryClassName() Return the fully qualified class name of the SessionHelperFactory implementation in use. |
java.util.Date |
getLastReapCycle() Return the start time for the last reap cycle. |
long |
getLastReapDuration() Return the time in milliseconds it took for the last reap cycle to finish. |
java.lang.String |
getLocalAttributeCacheName() Return the name of the local cache that stores non-distributed session attributes or null if local session attribute storage is disabled. |
int |
getLocalAttributeCount() Return the number of non-distributed session attributes stored in the local session attribute cache or -1 if local session attribute storage is disabled. |
java.lang.String |
getLocalSessionCacheName() Return the name of the local cache that stores non-distributed sessions or null if local session storage is disabled. |
int |
getLocalSessionCount() Return the number of non-distributed sessions stored in the local session cache or -1 if local session storage is disabled. |
long |
getMaxReapDuration() Gets the maximum reap duration since the statistics was reset. |
long |
getMaxReapedSessions() Gets the maximum number of sessions reaped in a reap cycle since the statistics was reset. |
java.util.Date |
getNextReapCycle() Returns the time for the next reap cycle. |
int |
getOverflowAverageSize() Return the average size (in bytes) of the session attributes stored in the "overflow" clustered cache since the last time statistics were reset or -1 if a SplitHttpSessionCollection is not in use. |
java.lang.String |
getOverflowCacheName() Return the name of the clustered cache that stores the "large attributes" that exceed a certain size and thus are determined to be more efficiently managed as separate cache entries and not as part of the serialized session object itself. |
int |
getOverflowMaxSize() Return the maximum size (in bytes) of a session attribute stored in the "overflow" clustered cache since the last time statistics were reset or -1 if a SplitHttpSessionCollection is not in use. |
int |
getOverflowThreshold() Return the minimum length (in bytes) that the serialized form of an attribute value must be in order for that attribute value to be stored in the separate "overflow" cache that is reserved for large attributes. |
int |
getOverflowUpdates() Return the number of updates to session attributes stored in the "overflow" clustered cache since the last time statistics were reset or -1 if a SplitHttpSessionCollection is not in use. |
long |
getReapedSessions() Returns the number of expired sessions that were reaped in the last reap cycle. |
long |
getReapedSessionsTotal() Returns the number of expired sessions that has been reaped since the statistics was reset. |
java.lang.String |
getServletContextCacheName() Return the name of the clustered cache that stores ServletContext attributes or null if the ServletContext is not clustered. |
java.lang.String |
getServletContextName() Return the name of the web application ServletContext. |
int |
getSessionAverageLifetime() Return the average lifetime (in seconds) of session objects invalidated (either due to expiration or to an explicit invalidation) since the last time statistics were reset. |
int |
getSessionAverageSize() Return the average size (in bytes) of session objects placed in the session storage clustered cache since the last time statistics were reset. |
java.lang.String |
getSessionCacheName() Return the name of the clustered cache that stores serialized session objects. |
protected SessionHelperFactory |
getSessionFactory() Return the SessionHelper.Factory currently in use. |
protected SessionHelper |
getSessionHelper() Return the SessionHelper used by this HttpSessionManager object to expose Coherence*Web management attributes and operations. |
int |
getSessionIdLength() Return the length (in characters) of generated session IDs. |
int |
getSessionMaxSize() Return the maximum size (in bytes) of a session object placed in the session storage clustered cache since the last time statistics were reset. |
int |
getSessionMinSize() Return the minimum size (in bytes) of a session object placed in the session storage clustered cache since the last time statistics were reset. |
int |
getSessionStickyCount() Return the number of session objects that are pinned to this instance of the web application or -1 if sticky session optimizations are disabled. |
int |
getSessionTimeout() Return the session expiration time (in seconds) or -1 if sessions never expire. |
int |
getSessionUpdates() Return the number of updates of session object stored in the session storage clustered cache since the last time statistics were reset. |
protected SplitHttpSessionCollection |
getSplitHttpSessionCollection() Return the SplitHttpSessionCollection currently in use. |
void |
resetStatistics() Reset the session management statistics. |
java.lang.String |
toString() Returns a string representation of the object. |
Constructor Detail |
---|
public HttpSessionManager(SessionHelper helper, SessionReaperStatistics reaperStatistics)
helper
- the SessionHelper for the web application in which Coherence*Web is installedreaperStatistics
-Method Detail |
---|
public long getAverageReapDuration()
getAverageReapDuration
in interface HttpSessionManagerMBean
public long getAverageReapedSessions()
getAverageReapedSessions
in interface HttpSessionManagerMBean
public java.lang.String getCollectionClassName()
HttpSessionCollection
implementation in use.getCollectionClassName
in interface HttpSessionManagerMBean
public java.lang.String getFactoryClassName()
SessionHelperFactory
implementation in use.getFactoryClassName
in interface HttpSessionManagerMBean
public long getLastReapDuration()
getLastReapDuration
in interface HttpSessionManagerMBean
public java.util.Date getLastReapCycle()
getLastReapCycle
in interface HttpSessionManagerMBean
public java.lang.String getLocalAttributeCacheName()
getLocalAttributeCacheName
in interface HttpSessionManagerMBean
public int getLocalAttributeCount()
getLocalAttributeCount
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getLocalAttributeCacheName()
public java.lang.String getLocalSessionCacheName()
getLocalSessionCacheName
in interface HttpSessionManagerMBean
public int getLocalSessionCount()
getLocalSessionCount
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getLocalSessionCacheName()
public long getMaxReapDuration()
getMaxReapDuration
in interface HttpSessionManagerMBean
public long getMaxReapedSessions()
getMaxReapedSessions
in interface HttpSessionManagerMBean
public java.util.Date getNextReapCycle()
getNextReapCycle
in interface HttpSessionManagerMBean
public int getOverflowAverageSize()
SplitHttpSessionCollection
is not in use.getOverflowAverageSize
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getCollectionClassName()
, HttpSessionManagerMBean.getOverflowCacheName()
, HttpSessionManagerMBean.getOverflowThreshold()
public java.lang.String getOverflowCacheName()
If a SplitHttpSessionCollection
is not in use, null is returned.
getOverflowCacheName
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getCollectionClassName()
, HttpSessionManagerMBean.getOverflowThreshold()
public int getOverflowMaxSize()
SplitHttpSessionCollection
is not in use.getOverflowMaxSize
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getCollectionClassName()
, HttpSessionManagerMBean.getOverflowCacheName()
, HttpSessionManagerMBean.getOverflowThreshold()
public int getOverflowThreshold()
If a SplitHttpSessionCollection
is not in use, -1 is returned.
getOverflowThreshold
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getCollectionClassName()
, HttpSessionManagerMBean.getOverflowCacheName()
public int getOverflowUpdates()
SplitHttpSessionCollection
is not in use.getOverflowUpdates
in interface HttpSessionManagerMBean
HttpSessionManagerMBean.getCollectionClassName()
, HttpSessionManagerMBean.getOverflowCacheName()
, HttpSessionManagerMBean.getOverflowThreshold()
public long getReapedSessions()
getReapedSessions
in interface HttpSessionManagerMBean
public long getReapedSessionsTotal()
getReapedSessionsTotal
in interface HttpSessionManagerMBean
public int getSessionAverageLifetime()
getSessionAverageLifetime
in interface HttpSessionManagerMBean
public int getSessionAverageSize()
getSessionAverageSize
in interface HttpSessionManagerMBean
public java.lang.String getSessionCacheName()
getSessionCacheName
in interface HttpSessionManagerMBean
public int getSessionIdLength()
getSessionIdLength
in interface HttpSessionManagerMBean
public int getSessionMaxSize()
getSessionMaxSize
in interface HttpSessionManagerMBean
public int getSessionMinSize()
getSessionMinSize
in interface HttpSessionManagerMBean
public int getSessionStickyCount()
getSessionStickyCount
in interface HttpSessionManagerMBean
public int getSessionTimeout()
getSessionTimeout
in interface HttpSessionManagerMBean
public int getSessionUpdates()
getSessionUpdates
in interface HttpSessionManagerMBean
public java.lang.String getServletContextCacheName()
getServletContextCacheName
in interface HttpSessionManagerMBean
public java.lang.String getServletContextName()
getServletContextName
in interface HttpSessionManagerMBean
public void resetStatistics()
resetStatistics
in interface HttpSessionManagerMBean
public void clearStoredConfiguration()
clearStoredConfiguration
in interface HttpSessionManagerMBean
protected SessionHelper getSessionHelper()
protected SessionHelperFactory getSessionFactory()
protected AbstractHttpSessionCollection getAbstractHttpSessionCollection()
protected SplitHttpSessionCollection getSplitHttpSessionCollection()
public java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |