org.jboss.ejb3.metrics.deployer
Class ManagedSessionMetricsWrapperBase

java.lang.Object
  extended by org.jboss.ejb3.metrics.deployer.ManagedSessionMetricsWrapperBase
Direct Known Subclasses:
BasicStatefulSessionMetrics, BasicStatelessSessionMetrics

public abstract class ManagedSessionMetricsWrapperBase
extends java.lang.Object

ManagedSessionMetricsWrapperBase Base class to to delegate to the underlying invocation stats and instance metrics, exposing management properties and operations.


Method Summary
 org.jboss.ejb3.statistics.InvocationStatistics getInvocationStats()
           
 long getInvocationStatsLastResetTime()
          Exposes the time, represented in milliseconds since the epoch, that the stats were last reset
 java.lang.String getName()
          Returns the EJB Name
 void resetInvocationStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInvocationStats

public org.jboss.ejb3.statistics.InvocationStatistics getInvocationStats()
Returns:
See Also:
InvocationStatistics.getStats()

resetInvocationStats

public void resetInvocationStats()
See Also:
InvocationStatistics.resetStats()

getInvocationStatsLastResetTime

public long getInvocationStatsLastResetTime()
Exposes the time, represented in milliseconds since the epoch, that the stats were last reset

Returns:

getName

public java.lang.String getName()
Returns the EJB Name

Returns: