org.alfresco.util.perf
Class PerformanceMonitorAdvice

java.lang.Object
  extended by org.alfresco.util.perf.AbstractPerformanceMonitor
      extended by org.alfresco.util.perf.PerformanceMonitorAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class PerformanceMonitorAdvice
extends AbstractPerformanceMonitor
implements org.aopalliance.intercept.MethodInterceptor

An instance of this class keeps track of timings of method calls on a bean


Constructor Summary
PerformanceMonitorAdvice(java.lang.String beanName)
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class org.alfresco.util.perf.AbstractPerformanceMonitor
isDebugEnabled, recordStats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceMonitorAdvice

public PerformanceMonitorAdvice(java.lang.String beanName)
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.