Package de.hybris.platform.aop
Interface Profiler
-
- All Known Implementing Classes:
AbstractProfilingAspect,ProfilingAspect
public interface Profiler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectlogExecutionTime(org.aspectj.lang.ProceedingJoinPoint pjp)This methods will be called by the following sample AOP pointcut (core-profilig-spring.xml) and is responsible for execution time profilingvoidsetDomain(java.lang.String domain)JMX domainvoidsetLimit(long limit)Sets the minimum method execution time.
-
-
-
Method Detail
-
logExecutionTime
java.lang.Object logExecutionTime(org.aspectj.lang.ProceedingJoinPoint pjp) throws java.lang.ThrowableThis methods will be called by the following sample AOP pointcut (core-profilig-spring.xml) and is responsible for execution time profiling<aop:pointcut id="profiledMethods" expression="execution(* de.hybris.platform.servicelayer..*.*(..))" /> <aop:around pointcut-ref="profiledMethods" method="logExecutionTime" />
- Parameters:
pjp- pointcut info- Returns:
- execution result
- Throws:
java.lang.Throwable
-
setLimit
void setLimit(long limit)
Sets the minimum method execution time. If the execution time of the currently analyzed method is lesser than that value, the method will be ignored.- Parameters:
limit-
-
setDomain
void setDomain(java.lang.String domain)
JMX domain- Parameters:
domain- the jmx domain
-
-