tyrex.tm
public interface DomainMetrics
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.
Version: $Revision: 1.4 $
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. |
Returns: The current number of active transactions
Returns: The average duration for active transactions
Returns: The total number of committed transactions
Returns: The total number of rolled back transactions