org.hibernate.tool.stat
Class StatisticsBrowser
java.lang.Object
org.hibernate.tool.stat.StatisticsBrowser
public class StatisticsBrowser
- extends Object
Very rudimentary statistics browser.
Usage:
new StatisticsBrowser().showStatistics(getSessions().getStatistics(), shouldBlock);
- Author:
- max
Method Summary |
void |
showStatistics(org.hibernate.stat.Statistics stats,
boolean shouldBlock)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsBrowser
public StatisticsBrowser()
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.