com.atlassian.confluence.util.profiling
Class ConfluenceMonitoringMethodInterceptor

java.lang.Object
  extended by com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ConfluenceMonitoringMethodInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

A method interceptor that records the execution time of methods with Java Simon. The name of the stopwatch with calculated as the fully qualified class name concatenated with the method name. This resolution does not differentiate between overloaded method names. This limitation is accepted for the simplicity and speed on the implementation.


Constructor Summary
ConfluenceMonitoringMethodInterceptor(java.lang.String beanName)
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceMonitoringMethodInterceptor

public ConfluenceMonitoringMethodInterceptor(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 © 2003-2014 Atlassian. All Rights Reserved.