[
https://jira.jboss.org/jira/browse/JBAS-6877?page=com.atlassian.jira.plug...
]
Brian Stansberry commented on JBAS-6877:
----------------------------------------
Hibernate provides an org.hibernate.jmx.StatisticsServiceMBean which provides all sorts of
information about a SessionFactory, including an
org.hibernate.stat.SecondLevelCacheStatistics for each entity or collection type that is
cached, plus one for each query cache region.
I'm investigating whether we register this MBean as part of
SessionFactory/EntityManager deployment.
EJB3 Entity Cache Metrics
-------------------------
Key: JBAS-6877
URL:
https://jira.jboss.org/jira/browse/JBAS-6877
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: EJB3, Management services
Reporter: Andrew Lee Rubinger
Assignee: Brian Stansberry
Fix For: Backlog
These statistics must be reflected in the admin-console/Jopr.
Split from JBAS-6624:
EJB3 Entity Tree Cache (in addition to availability)
<!--jboss.cache:service=EJB3EntityTreeCache-->
<metric property="NumberOfLocksHeld" displayType="summary"/>
<metric property="NumberOfNodes"
displayType="summary"/>
EJB3 Entity Tree Cache Interceptor (in addition to availability)
<!--jboss.cache:service=EJB3EntityTreeCache,treecache-interceptor=CacheMgmtInterceptor-->
<metric property="HitMissRatio" displayType="summary"
units="percentage"
description="Returns the hit/miss ratio for the cache. This
ratio is defined as hits/(hits + misses)."/>
<metric property="ReadWriteRatio"
displayType="summary" units="percentage"
description="Returns the read/write ratio for the cache. This
ratio is defined as (hits + misses)/stores."/>
<metric property="Hits" displayType="summary"/>
<metric property="Misses" displayType="summary"/>
<metric property="Evictions"
displayType="summary"/>
<metric property="NumberOfLocksHeld"/>
<metric property="NumberOfNodes"/>
<metric property="AverageWriteTime"
units="milliseconds"/>
<metric property="TimeSinceReset"
units="seconds"/>
<metric property="AverageReadTime"
units="milliseconds"/>
<metric property="NumberOfNodes"/>
<metric property="Stores"/>
<metric property="NumberOfAttributes"/>
<metric property="ElapsedTime"
units="milliseconds"/>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira