com.atlassian.confluence.util.profiling
Class ConfluenceMonitoringMethodInterceptor
java.lang.Object
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 Object
- implements org.aopalliance.intercept.MethodInterceptor
A method interceptor that records the execution time of methods.
The name of the timer is 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.
|
Method Summary |
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 |
ConfluenceMonitoringMethodInterceptor
public ConfluenceMonitoringMethodInterceptor(String beanName)
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
Copyright © 2003–2015 Atlassian. All rights reserved.