[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5326) UpdateTimestampsCache should maintain the statistics for its region

Alex Snaps (JIRA) noreply at atlassian.com
Wed Jun 30 08:50:09 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37616#action_37616 ] 

Alex Snaps commented on HHH-5326:
---------------------------------

Ehcache comes with some tooling around fine tuning your cache (especially distributed).
We provide a couple of panels (Hibernate & Ehcache specific ones). Currently the Hibernate one does not provide the information on that region, as indeed not maintained by Hibernate. Now I think, in order to help users understand what's going on with their caches, this information would be useful to any 2nd level cache user.
I totally realize that this region is already pretty "hot" and that maintaining stats does come at prize (though much less given the j.u.c. enhancements). Maybe these could be turned on or off separately? Have a different default depending on the StatisticsImpl. ?
QueryCache is definitively a double edged sword, I think providing the most accurate feedback to users would be beneficial, wdyt ? 
If you guys agree on the added value, I'd totally be willing to provide a patch...

> UpdateTimestampsCache should maintain the statistics for its region
> -------------------------------------------------------------------
>
>                 Key: HHH-5326
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5326
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>            Reporter: Alex Snaps
>
> Don't know if it is by design, but the SecondLevelCacheStatistics' for the UpdateTimestampsCache region are not maintained. Any idea why ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list