patterntesting.runtime.monitor
Interface ProfileStatisticMBean

Package class diagram package ProfileStatisticMBean
All Known Subinterfaces:
SqlStatisticMBean
All Known Implementing Classes:
ProfileStatistic, SqlStatistic

@Description(value="Profile statistic for different methods")
public interface ProfileStatisticMBean

The Interface ProfileStatisticMBean.


Method Summary
 void dumpStatistic()
          Dump statistic.
 double getMaxAvg()
          Gets the max avg.
 String getMaxAvgLabel()
          Gets the max avg label.
 String getMaxAvgStatistic()
          Gets the max avg statistic.
 int getMaxHits()
          Gets the max hits.
 String getMaxHitsLabel()
          Gets the max hits label.
 String getMaxHitsStatistic()
          Gets the max hits statistic.
 double getMaxMax()
          Gets the max max.
 String getMaxMaxLabel()
          Gets the max max label.
 String getMaxMaxStatistic()
          Gets the max max statistic.
 double getMaxTotal()
          Gets the max total.
 String getMaxTotalLabel()
          Gets the max total label.
 String getMaxTotalStatistic()
          Gets the max total statistic.
 TabularData getStatistics()
          Gets the statistics.
 void logStatistic()
          Log statistic.
 void reset()
          Reset.
 

Method Detail

reset

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


getMaxHits

@Description(value="maximal number how often a method is called")
int getMaxHits()
Gets the max hits.

Returns:
the max hits

getMaxHitsLabel

@Description(value="the name of the method which was called most")
String getMaxHitsLabel()
Gets the max hits label.

Returns:
the max hits label

getMaxHitsStatistic

@Description(value="statistic of the most called method")
String getMaxHitsStatistic()
Gets the max hits statistic.

Returns:
the max hits statistic

getMaxTotal

@Description(value="maximal total time of a method")
@Unit(value="milliseconds")
double getMaxTotal()
Gets the max total.

Returns:
the max total

getMaxTotalLabel

@Description(value="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(value="statistic of the method which need most of the time")
String getMaxTotalStatistic()
Gets the max total statistic.

Returns:
the max total statistic

getMaxAvg

@Description(value="maximal average time")
@Unit(value="milliseconds")
double getMaxAvg()
Gets the max avg.

Returns:
the max avg

getMaxAvgLabel

@Description(value="the name of the method with the maximal average time")
String getMaxAvgLabel()
Gets the max avg label.

Returns:
the max avg label

getMaxAvgStatistic

@Description(value="statistic of the method with the maximal average time")
String getMaxAvgStatistic()
Gets the max avg statistic.

Returns:
the max avg statistic

getMaxMax

@Description(value="maximal time of a method")
@Unit(value="milliseconds")
double getMaxMax()
Gets the max max.

Returns:
the max max

getMaxMaxLabel

@Description(value="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(value="statistic of the method with the maximal time of a single run")
String getMaxMaxStatistic()
Gets the max max statistic.

Returns:
the max max statistic

getStatistics

@Description(value="the statistic table")
TabularData getStatistics()
Gets the statistics.

Returns:
the statistics

logStatistic

@Description(value="log the statistic data")
void logStatistic()
Log statistic.


dumpStatistic

@Description(value="dump the statistic data to a temporary file")
void dumpStatistic()
Dump statistic.



Copyright © 2002–2014 PatternTesting Team. All rights reserved.