org.jboss.ejb3.metrics.deployer
Class ManagedInvocationStatisticsWrapper

java.lang.Object
  extended by org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper

public class ManagedInvocationStatisticsWrapper
extends java.lang.Object

ManagedInvocationStatistics Simple wrapper to delegate to the underlying invocation stats, exposing as a managed object


Constructor Summary
ManagedInvocationStatisticsWrapper(org.jboss.ejb3.statistics.InvocationStatistics delegate)
          Constructor
 
Method Summary
 long getLastResetTime()
          Exposes the time, represented in milliseconds since the epoch, that the stats were last reset
 java.util.Map getStats()
           
 void resetStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedInvocationStatisticsWrapper

public ManagedInvocationStatisticsWrapper(org.jboss.ejb3.statistics.InvocationStatistics delegate)
                                   throws java.lang.IllegalArgumentException
Constructor

Parameters:
delegate -
Throws:
java.lang.IllegalArgumentException - If the delegate was not supplied
Method Detail

getStats

public java.util.Map getStats()
Returns:
See Also:
InvocationStatistics.getStats()

resetStats

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

getLastResetTime

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

Returns: