com.sun.ejb.monitoring.stats
Class EjbMethodStatsProvider

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

@AMXMetadata(type="bean-method-mon",
             group="monitoring",
             isSingleton=false)
@ManagedObject
@Description(value="Ejb Method Statistics")
public class EjbMethodStatsProvider
extends java.lang.Object

Event listener for the Ejb monitoring events. Used by the probe framework to collect and display the data.

Author:
Marina Vatkina

Method Summary
 org.glassfish.external.statistics.TimeStatistic getMethodStatistic()
           
 java.lang.String getStringifiedMethodName()
           
 org.glassfish.external.statistics.CountStatistic getTotalExecutionTime()
           
 org.glassfish.external.statistics.CountStatistic getTotalNumErrors()
           
 org.glassfish.external.statistics.CountStatistic getTotalNumSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMethodStatistic

@ManagedAttribute(id="methodstatistic")
@Description(value="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(value="Number of times the method execution resulted in an exception")
public org.glassfish.external.statistics.CountStatistic getTotalNumErrors()

getTotalNumSuccess

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

getTotalExecutionTime

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

getStringifiedMethodName

public java.lang.String getStringifiedMethodName()


Copyright © 2012 GlassFish Community. All Rights Reserved.