|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Statistics | |
|---|---|
| org.hibernate | This package defines the central Hibernate APIs. |
| org.hibernate.impl | This package contains implementations of the central Hibernate APIs, especially the Hibernate session. |
| org.hibernate.jmx | This package exposes a Hibernate instance via JMX. |
| org.hibernate.stat | This package exposes statistics about a running Hibernate instance to the application. |
| Uses of Statistics in org.hibernate |
|---|
| Methods in org.hibernate that return Statistics | |
|---|---|
Statistics |
SessionFactory.getStatistics()
Get the statistics for this session factory |
| Uses of Statistics in org.hibernate.impl |
|---|
| Methods in org.hibernate.impl that return Statistics | |
|---|---|
Statistics |
SessionFactoryImpl.getStatistics()
|
| Uses of Statistics in org.hibernate.jmx |
|---|
| Subinterfaces of Statistics in org.hibernate.jmx | |
|---|---|
interface |
StatisticsServiceMBean
MBean exposing Session Factory statistics |
| Classes in org.hibernate.jmx that implement Statistics | |
|---|---|
class |
StatisticsService
JMX service for Hibernate statistics Register this MBean in your JMX server for a specific session factory //build the ObjectName you want Hashtable tb = new Hashtable(); tb.put("type", "statistics"); tb.put("sessionFactory", "myFinancialApp"); ObjectName on = new ObjectName("hibernate", tb); StatisticsService stats = new StatisticsService(); stats.setSessionFactory(sessionFactory); server.registerMBean(stats, on); And call the MBean the way you want Register this MBean in your JMX server with no specific session factory //build the ObjectName you want Hashtable tb = new Hashtable(); tb.put("type", "statistics"); tb.put("sessionFactory", "myFinancialApp"); ObjectName on = new ObjectName("hibernate", tb); StatisticsService stats = new StatisticsService(); server.registerMBean(stats, on); And call the MBean by providing the SessionFactoryJNDIName first. |
| Methods in org.hibernate.jmx that return Statistics | |
|---|---|
Statistics |
SessionFactoryStub.getStatistics()
|
| Uses of Statistics in org.hibernate.stat |
|---|
| Classes in org.hibernate.stat that implement Statistics | |
|---|---|
class |
StatisticsImpl
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||