cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: Visibility & Monitoring
Date Thu, 08 Apr 2010 16:42:57 GMT
BTW, we started on some monitoring hooks inside Cayenne runtime in 3.0  
per , however then it  
was decided that it'll work much better with the 3.1 DI-based stack.  
So this is waiting for its time.


On Apr 7, 2010, at 6:16 PM, Joe Baldwin wrote:

> I am attempting to do more performance monitoring (with an eye  
> towards optimizing my design & use of DataObject lists and lifetime).
> The first thing I would like to do is monitor how many DataObjects  
> are created and which JSP session they belong.
> My idea was to simply create a constructor for the DataObject of  
> interest and place monitoring hooks inside. I would assume that I  
> could also create a finalize method to do similar things.
> Is this the best way to create custom monitoring using Cayenne  
> DataObjects or is there a better way?
> (BTW, even after reading the docs, I am still somewhat mystified by  
> how my configuration specifications control the life cycle and  
> performance.  So I am hoping these custom hooks will make my design  
> decisions more visible, especially with multiple users.)
> Thanks,
> Joe

View raw message