Package de.hybris.platform.aop
Interface Profiler
- All Known Implementing Classes:
AbstractProfilingAspect,ProfilingAspect
public interface Profiler
-
Method Summary
Modifier and TypeMethodDescriptionlogExecutionTime(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 profilingvoidJMX domainvoidsetLimit(long limit) Sets the minimum method execution time.
-
Method Details
-
logExecutionTime
This 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:
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
JMX domain- Parameters:
domain- the jmx domain
-