Class StatisticsBrowser

java.lang.Object
org.hibernate.tool.api.stat.StatisticsBrowser

public class StatisticsBrowser extends Object
Very rudimentary statistics browser. Usage: new StatisticsBrowser().showStatistics(getSessions().getStatistics(), shouldBlock);
Author:
max
  • 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 SessionFactory
      shouldBlock - decides if the ui will be modal or not.