|
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 StatsModule
This interface represents a statistic module. This is a super class of all the statistic module interfaces.
MapStatsModule
,
OGStatsModule
,
SessionStatsModule
,
HashIndexStatsModule
,
AgentStatsModule
,
QueryStatsModule
Field Summary | |
---|---|
static int |
MODULE_TYPE_AGENT
Agent statistic module type |
static int |
MODULE_TYPE_HASHINDEX
HashIndex statistic module type |
static int |
MODULE_TYPE_MAP
Map statistic module type |
static int |
MODULE_TYPE_OBJECT_GRID
ObjectGrid statistic module type |
static int |
MODULE_TYPE_QUERY
Query statistic module type |
static int |
MODULE_TYPE_SESSION
Session statistic module type |
static int |
MODULE_TYPE_UNDEFINED
Undefined module type |
static String |
PATH_DELIMITER
The path delimiter to separate the paths to a statistic module |
Method Summary | |
---|---|
void |
combine(StatsModule m)
Combines the stats in this stats module with stats from another stats module. |
StatsModule |
copy()
Gets a copy of this object. |
String |
getPath()
Gets the statistic path to this module. |
StatsSpec |
getStatsSpec()
Gets the StatsSpec object associated with this stats module. |
void |
reset()
Resets all the statistics in this module to zero. |
void |
setGroupModule(boolean isGroupModule)
Sets whether this stats module belongs to a StatsFact or StatsGroup. |
String |
statsToString()
Gets a string representation of this statistic module including all the statistics in it. |
void |
update()
Updates the statistics in this stats module. |
Field Detail |
---|
static final String PATH_DELIMITER
static final int MODULE_TYPE_UNDEFINED
static final int MODULE_TYPE_MAP
static final int MODULE_TYPE_OBJECT_GRID
static final int MODULE_TYPE_SESSION
static final int MODULE_TYPE_HASHINDEX
static final int MODULE_TYPE_AGENT
static final int MODULE_TYPE_QUERY
Method Detail |
---|
StatsSpec getStatsSpec()
StatsSpec
object associated with this stats module.
Users can know which statistics are enabled or disabled from this StatsSpec object.
StatsSpec
void reset()
void combine(StatsModule m)
m
- the stats module to be combinedvoid setGroupModule(boolean isGroupModule)
If it belongs to a StatsGroup
, a true
value
should be set; otherwise false will be returned.
isGroupModule
- true
if this module belongs to a
StatsGroup; false
if this module belongs to a StatsFactString statsToString()
void update()
StatsModule copy()
String getPath()
A statistic path is an identifier for the statistic module in the statistic repository. Each statistic module should define its own unique path.
|
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 |