Class MolgenisTimedAspect


  • @NonNullApi
    public class MolgenisTimedAspect
    extends Object
    AspectJ aspect for intercepting types or method annotated with @Timed.

    Copied from micrometer.io and adapted to also work for annotated classes.

    Author:
    David J. M. Karlsen, Jon Schneider, Fleur Kelpin
    • Method Detail

      • timedClassMethod

        public Object timedClassMethod​(org.aspectj.lang.ProceedingJoinPoint pjp)
                                throws Throwable
        Throws:
        Throwable
      • timedMethod

        public Object timedMethod​(org.aspectj.lang.ProceedingJoinPoint pjp)
                           throws Throwable
        Throws:
        Throwable