|
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 OGStatsModule
This interface represents a statistic module for an ObjectGrid. An ObjectGrid statistic module contains a Session transaction time statistic. The transaction time is the amount of time between when a transaction is started and committed.
The path to an ObjectGrid statistic module is the string "root", concatenated with "/", and then the ObjectGrid name. You can also use an array to represent the path, with the first element being the string "root", and the second element being the ObjectGrid name.
ObjectGridMBean.retrieveStatsModule()
,
Session
,
Session.begin()
,
Session.commit()
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 | |
---|---|
ActiveTimeStatistic |
getAllTypeTransactionTime()
Retrieves the transaction response time statistic for all committed transactions. |
ActiveTimeStatistic |
getTransactionTime(String type,
boolean copyMode)
Retrieves the transaction response time statistic for committed transactions for a specific transaction type. |
Methods inherited from interface com.ibm.websphere.objectgrid.stats.StatsModule |
---|
combine, copy, getPath, getStatsSpec, reset, setGroupModule, statsToString, update |
Method Detail |
---|
ActiveTimeStatistic getTransactionTime(String type, 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.
type
- the transaction typecopyMode
- if set to true
, a copy is returned.
ActiveTimeStatistic
,
Session.setTransactionType(String)
,
Session.TRANSACTION_TYPE_DEFAULT
ActiveTimeStatistic getAllTypeTransactionTime()
ActiveTimeStatistic
|
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 |