geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: JTAStats
Date Thu, 08 Feb 2007 17:48:07 GMT

On Feb 8, 2007, at 9:37 AM, Dain Sundstrom wrote:

> GeronimoTransactionManager is the only one that know that info.
>
> I personally would prefer if you would add a monitor to that class  
> instead of adding lots of extra logic to that class.  The monitor  
> would be notified of these events, and your implementation would  
> keep track of the stats.
>

I agree about the monitor.

I think you need to get the start tx events from the transaction  
manager and the end transaction events from the transactions since  
it's possible to commit a transaction directly without going through  
the tm.

thanks
david jencks

> -dain
>
> On Feb 8, 2007, at 6:11 AM, anita kulshreshtha wrote:
>
>>    Could someone point me to the code which could be used to generate
>> information about number of active transactions, number of committed
>> transactions, and number of rolled-back transactions.
>>
>> Thanks
>> Anita
>>
>>
>>
>> _____________________________________________________________________ 
>> _______________
>> Food fight? Enjoy some healthy debate
>> in the Yahoo! Answers Food & Drink Q&A.
>> http://answers.yahoo.com/dir/?link=list&sid=396545367
>


Mime
View raw message