Re: Visibility & Monitoring

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Apr 08 2010 - 12:42:57 EDT

  • Next message: Joe Baldwin: "Re: Visibility & Monitoring"

    BTW, we started on some monitoring hooks inside Cayenne runtime in 3.0
    per http://issues.apache.org/jira/browse/CAY-1173 , 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.

    Andrus

    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
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Apr 08 2010 - 12:44:30 EDT