|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainMetrics
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 |
---|
int getTotalCommitted()
int getTotalRolledback()
float getAvgDuration()
int getActive()
void reset()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |