IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.management
Interface SessionMBean


public interface SessionMBean

This MBean interface allows a client process to access different attributes and statistical data about a specific session. The object name pattern for this MBean is:

 com.ibm.websphere.objectgrid:type=Session,name=<id>,host=<host>,ogServerName=<server>
 
If ObjectGrid is running in a WebSphere Application Server process, more key=value pairs may be added to the object name.

Since:
WAS XD 6.0.1, XC10

Method Summary
 long getAccessedSessionsCount()
          Gets acessed sessions count
 long getAccessToNonExistentSessionCount()
          Gets access to non-existent session count
 long getActiveSessionsCount()
          Gets active sessions count
 long getAffinityBreaksCount()
          Gets affinity breaks count
 long getCacheDiscardsCount()
          Gets cache discards count
 long getCreatedSessionsCount()
          Gets the map count attribute loaded up by the retrieveStatsModule() or refreshStatsModule() method.
 long getInvalidatedByTimeoutCount()
          Gets invalidated by timeout count
 long getInvalidatedSessionsCount()
          Gets invalidated sessions count
 long getMemoryCount()
          Gets memory count
 String getSessionID()
          Gets the ID of the session instance associated with this MBean.
 String getSessionStatsModule()
          Gets a string representation of the SessionStatsModule attributes loaded up by the retrieveStatsModule() method.
 SessionStatsModule retrieveStatsModule()
          Gets the SessionStatsModule used to retrieve statistics associated with the session for this MBean.
 

Method Detail

retrieveStatsModule

SessionStatsModule retrieveStatsModule()
Gets the SessionStatsModule used to retrieve statistics associated with the session for this MBean.

Returns:
an SessionStatsModule for statistics associated with this session
See Also:
SessionStatsModule

getSessionID

String getSessionID()
Gets the ID of the session instance associated with this MBean.

Returns:
the ID of the session instance associated with this MBean.

getSessionStatsModule

String getSessionStatsModule()
Gets a string representation of the SessionStatsModule attributes loaded up by the retrieveStatsModule() method.

Returns:
String form of SessionStatsModule
See Also:
retrieveStatsModule(), SessionStatsModule

getCreatedSessionsCount

long getCreatedSessionsCount()
Gets the map count attribute loaded up by the retrieveStatsModule() or refreshStatsModule() method.

Returns:
the number of entries in the map
See Also:
retrieveStatsModule(), MapStatsModule.getNumEntries(boolean)

getInvalidatedSessionsCount

long getInvalidatedSessionsCount()
Gets invalidated sessions count

Returns:
the count of invalidated Sessions

getActiveSessionsCount

long getActiveSessionsCount()
Gets active sessions count

Returns:
the count of active Sessions

getMemoryCount

long getMemoryCount()
Gets memory count

Returns:
memory count

getCacheDiscardsCount

long getCacheDiscardsCount()
Gets cache discards count

Returns:
cache discards count

getAffinityBreaksCount

long getAffinityBreaksCount()
Gets affinity breaks count

Returns:
affinity breaks count

getInvalidatedByTimeoutCount

long getInvalidatedByTimeoutCount()
Gets invalidated by timeout count

Returns:
count

getAccessToNonExistentSessionCount

long getAccessToNonExistentSessionCount()
Gets access to non-existent session count

Returns:
count

getAccessedSessionsCount

long getAccessedSessionsCount()
Gets acessed sessions count

Returns:
count

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.