Interface Profiler

All Known Implementing Classes:
AbstractProfilingAspect, ProfilingAspect

public interface Profiler
  • Method Summary

    Modifier and Type
    Method
    Description
    logExecutionTime(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 profiling
    void
    setDomain(String domain)
    JMX domain
    void
    setLimit(long limit)
    Sets the minimum method execution time.
  • Method Details

    • logExecutionTime

      Object logExecutionTime(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      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

      void setDomain(String domain)
      JMX domain
      Parameters:
      domain - the jmx domain