Class EjbMethodStatsProvider

java.lang.Object
com.sun.ejb.monitoring.stats.EjbMethodStatsProvider

@AMXMetadata(type="bean-method-mon", group="monitoring", isSingleton=false) @ManagedObject @Description("Ejb Method Statistics") public class EjbMethodStatsProvider extends Object
Event listener for the Ejb monitoring events. Used by the probe framework to collect and display the data.
Author:
Marina Vatkina
  • Method Details

    • getMethodStatistic

      @ManagedAttribute(id="methodstatistic") @Description("Number of times the operation is called; total time spent during invocation, and so on.") public org.glassfish.external.statistics.TimeStatistic getMethodStatistic()
    • getTotalNumErrors

      @ManagedAttribute(id="totalnumerrors") @Description("Number of times the method execution resulted in an exception") public org.glassfish.external.statistics.CountStatistic getTotalNumErrors()
    • getTotalNumSuccess

      @ManagedAttribute(id="totalnumsuccess") @Description("Number of times the method successfully executed") public org.glassfish.external.statistics.CountStatistic getTotalNumSuccess()
    • getTotalExecutionTime

      @ManagedAttribute(id="executiontime") @Description("Time (ms) spent executing method for the last successful/unsuccessful attempt to execute the operation") public org.glassfish.external.statistics.CountStatistic getTotalExecutionTime()
    • getStringifiedMethodName

      public String getStringifiedMethodName()