|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionStatsModule
This interface represents a statistic module for HTTP sessions in an ObjectGrid server.
Field Summary |
---|
Fields inherited from interface com.ibm.websphere.objectgrid.stats.StatsModule |
---|
MODULE_TYPE_AGENT, MODULE_TYPE_HASHINDEX, MODULE_TYPE_MAP, MODULE_TYPE_OBJECT_GRID, MODULE_TYPE_QUERY, MODULE_TYPE_SESSION, MODULE_TYPE_UNDEFINED, PATH_DELIMITER |
Method Summary | |
---|---|
ActiveCountStatistic |
getAccessedSessions(boolean copyMode)
Get the access to sessions statistic. |
ActiveCountStatistic |
getAccessToNonExistentSession(boolean copyMode)
Get the access to nonexistent sessions statistic. |
ActiveCountStatistic |
getActiveSessions(boolean copyMode)
Get the active sessions statistic. |
ActiveCountStatistic |
getAffinityBreaks(boolean copyMode)
Get the affinity breaks statistic. |
ActiveCountStatistic |
getCacheDiscards(boolean copyMode)
Get the discarded sessions statistic. |
ActiveCountStatistic |
getCreatedSessions(boolean copyMode)
Get the created sessions statistic. |
ActiveCountStatistic |
getInvalidatedByTimeout(boolean copyMode)
Get the sessions invalidated by timeout statistic. |
ActiveCountStatistic |
getInvalidatedSessions(boolean copyMode)
Get the invalidated sessions statistic. |
ActiveCountStatistic |
getMemoryCount(boolean copyMode)
Get the sessions in memory count statistic. |
String |
getSessionID()
Get the session ID. |
void |
setAccessedSessions(long stat)
Set the access to sessions statistic. |
void |
setAccessToNonExistentSession(long stat)
Set the access to nonexistent sessions statistic. |
void |
setActiveSessions(long stat)
Set the active sessions statistic. |
void |
setAffinityBreaks(long stat)
Set the affinity breaks statistic. |
void |
setCacheDiscards(long stat)
Set the discarded sessions statistic. |
void |
setCreatedSessions(long stat)
Set the created sessions statistic. |
void |
setInvalidatedByTimeout(long stat)
Set the sessions invalidated by timeout statistic. |
void |
setInvalidatedSessions(long stat)
Set the invalidated sessions statistic. |
void |
setMemoryCount(long stat)
Set the sessions in memory count statistic. |
void |
setSessionID(String id)
Set the session ID. |
Methods inherited from interface com.ibm.websphere.objectgrid.stats.StatsModule |
---|
combine, copy, getPath, getStatsSpec, reset, setGroupModule, statsToString, update |
Method Detail |
---|
String getSessionID()
void setSessionID(String id)
id
- session ID.ActiveCountStatistic getCreatedSessions(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setCreatedSessions(long stat)
stat
- number of created sessions.ActiveCountStatistic getInvalidatedSessions(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setInvalidatedSessions(long stat)
stat
- number of invalidated sessions.ActiveCountStatistic getActiveSessions(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setActiveSessions(long stat)
stat
- number of active sessions.ActiveCountStatistic getMemoryCount(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setMemoryCount(long stat)
stat
- number of sessions in memory.ActiveCountStatistic getCacheDiscards(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setCacheDiscards(long stat)
stat
- number of discarded sessions.ActiveCountStatistic getAffinityBreaks(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setAffinityBreaks(long stat)
stat
- number of affinity breaks.ActiveCountStatistic getInvalidatedByTimeout(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setInvalidatedByTimeout(long stat)
stat
- number of sessions invalidated by timeout.ActiveCountStatistic getAccessToNonExistentSession(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setAccessToNonExistentSession(long stat)
stat
- number of accesses to nonexistent sessions.ActiveCountStatistic getAccessedSessions(boolean copyMode)
If the copyMode is set to true
, a copy is returned. It is
recommended to set the copy mode to true
when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode
- if set to true
, a copy is returned.
ActiveCountStatistic
void setAccessedSessions(long stat)
stat
- number of accessed sessions.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |