Package org.hibernate.tool.api.stat
Class StatisticsBrowser
java.lang.Object
org.hibernate.tool.api.stat.StatisticsBrowser
Very rudimentary statistics browser.
Usage:
new StatisticsBrowser().showStatistics(getSessions().getStatistics(), shouldBlock);
- Author:
- max
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshowStatistics(org.hibernate.stat.Statistics stats, boolean shouldBlock)
-
Constructor Details
-
StatisticsBrowser
public StatisticsBrowser()
-
-
Method Details
-
showStatistics
public void showStatistics(org.hibernate.stat.Statistics stats, boolean shouldBlock) - Parameters:
stats- a Statistics instance obtained from a SessionFactoryshouldBlock- decides if the ui will be modal or not.
-