org.hibernate.tool.stat
Class StatisticsBrowser

java.lang.Object
  extended by org.hibernate.tool.stat.StatisticsBrowser

public class StatisticsBrowser
extends Object

Very rudimentary statistics browser. Usage: new StatisticsBrowser().showStatistics(getSessions().getStatistics(), shouldBlock);

Author:
max

Constructor Summary
StatisticsBrowser()
           
 
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
 

Constructor Detail

StatisticsBrowser

public StatisticsBrowser()
Method Detail

showStatistics

public void showStatistics(org.hibernate.stat.Statistics stats,
                           boolean shouldBlock)
Parameters:
stats - a Statistics instance obtained from a SessionFactory
shouldBlock - decides if the ui will be modal or not.