Package com.sun.ejb.monitoring.stats
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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.TimeStatistic
getMethodStatistic()
String
getStringifiedMethodName()
org.glassfish.external.statistics.CountStatistic
getTotalExecutionTime()
org.glassfish.external.statistics.CountStatistic
getTotalNumErrors()
org.glassfish.external.statistics.CountStatistic
getTotalNumSuccess()
-
-
-
Method Detail
-
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()
-
-