Class AbstractProfilingAspectForMethodReturnValue

    • Constructor Detail

      • AbstractProfilingAspectForMethodReturnValue

        public AbstractProfilingAspectForMethodReturnValue​(String topLevelMethod,
                                                           Map<String,​CustomPerformanceMeter> methodMetrics)
        Constructor
        Parameters:
        topLevelMethod - name of the profiling method, can't be null
        methodMetrics - need for accumulation performance metrics by performance scenario name, can't be null
    • Method Detail

      • aroundProfileMethods

        public Object aroundProfileMethods​(org.aspectj.lang.ProceedingJoinPoint thisJoinPoint)
                                    throws Throwable
        Special aspect code that will be executed around profiling method linking through "Pointcut" "profile"
        Parameters:
        thisJoinPoint - actual ProceedingJoinPoint, can't be null
        Returns:
        the same object which returning of the profiling method
        Throws:
        Throwable