|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Holds metrics associated with a transaction domain.
This object records usage metrics for transaction, recording such information as the accumulated number of transactions committed and rolledback, the average duration of a transaction, etc.
Method Summary | |
int |
getActive()
Returns the current number of active transactions. |
float |
getAvgDuration()
Returns the average duration for active transactions. |
int |
getTotalCommitted()
Returns the total number of committed transactions. |
int |
getTotalRolledback()
Returns the total number of rolled back transactions. |
void |
reset()
Called to reset this metrics object. |
Method Detail |
public int getTotalCommitted()
public int getTotalRolledback()
public float getAvgDuration()
public int getActive()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |