Class MicrometerContextTimer

    • Constructor Detail

      • MicrometerContextTimer

        public MicrometerContextTimer()
    • Method Detail

      • update

        public void update​(Class<?> type,
                           String method,
                           long duration,
                           TimeUnit unit)
        Updates the micrometer Timer specified by the type and method with the given duration.
        Specified by:
        update in interface ContextTimer
        Parameters:
        type - The class being called
        method - The method being called
        duration - The duration of the method
        unit - The unit of the duration