Class MetricsInterceptor


  • @Interceptor
    @Priority(1000)
    public class MetricsInterceptor
    extends Object
    • Constructor Detail

      • MetricsInterceptor

        @Inject
        public MetricsInterceptor​(org.eclipse.microprofile.metrics.MetricRegistry registry,
                                  @Intercepted
                                  jakarta.enterprise.inject.spi.Bean<?> bean)
    • Method Detail

      • isMethodPrivate

        public static <E extends Member & AnnotatedElement> boolean isMethodPrivate​(E element)
        Method to identify if the method is private from given element
        Parameters:
        element - method to evaluate
        Returns:
        boolean indicating if this is a private method