Interface AbstractStatisticMBean

All Known Subinterfaces:
SqlStatisticMBean
All Known Implementing Classes:
AbstractStatistic, SqlStatistic

@Description("Profile statistic for different methods") public interface AbstractStatisticMBean
The Interface AbstractStatisticMBean.
  • Method Details

    • reset

      @Description("reset the statistic to be ready for new measurement") void reset()
      Reset.
    • getMaxHits

      @Description("maximal number how often a method is called") int getMaxHits()
      Gets the max hits.
      Returns:
      the max hits
    • getMaxHitsLabel

      @Description("the name of the method which was called most") String getMaxHitsLabel()
      Gets the max hits label.
      Returns:
      the max hits label
    • getMaxHitsStatistic

      @Description("statistic of the most called method") String getMaxHitsStatistic()
      Gets the max hits statistic.
      Returns:
      the max hits statistic
    • getMaxTotal

      @Description("maximal total time of a method") @Unit("milliseconds") double getMaxTotal()
      Gets the max total.
      Returns:
      the max total
    • getMaxTotalLabel

      @Description("the name of the method which need most of the time") String getMaxTotalLabel()
      Gets the max total label.
      Returns:
      the max total label
    • getMaxTotalStatistic

      @Description("statistic of the method which need most of the time") String getMaxTotalStatistic()
      Gets the max total statistic.
      Returns:
      the max total statistic
    • getMaxAvg

      @Description("maximal average time") @Unit("milliseconds") double getMaxAvg()
      Gets the max avg.
      Returns:
      the max avg
    • getMaxAvgLabel

      @Description("the name of the method with the maximal average time") String getMaxAvgLabel()
      Gets the max avg label.
      Returns:
      the max avg label
    • getMaxAvgStatistic

      @Description("statistic of the method with the maximal average time") String getMaxAvgStatistic()
      Gets the max avg statistic.
      Returns:
      the max avg statistic
    • getMaxMax

      @Description("maximal time of a method") @Unit("milliseconds") double getMaxMax()
      Gets the max max.
      Returns:
      the max max
    • getMaxMaxLabel

      @Description("the name of the method with the maximal time of a single run") String getMaxMaxLabel()
      Gets the max max label.
      Returns:
      the max max label
    • getMaxMaxStatistic

      @Description("statistic of the method with the maximal time of a single run") String getMaxMaxStatistic()
      Gets the max max statistic.
      Returns:
      the max max statistic
    • setMaxSize

      @Description("set maximal number of statistic entries") void setMaxSize(int size)
      Sets the maximal size of statistic entries.
      Parameters:
      size - the new max size
      Since:
      1.6
    • getMaxSize

      @Description("get maximal number of statistic entries") int getMaxSize()
      Gets the max size.
      Returns:
      the max size
      Since:
      1.6
    • getStatistics

      @Description("the statistic table") TabularData getStatistics()
      Gets the statistics.
      Returns:
      the statistics