Class TimedAnnotations

java.lang.Object
org.springframework.boot.actuate.metrics.annotation.TimedAnnotations

public final class TimedAnnotations extends Object
Utility used to obtain @Timed annotations from bean methods.
Since:
2.5.0
Author:
Phillip Webb
  • Method Details

    • get

      public static Set<io.micrometer.core.annotation.Timed> get(Method method, Class<?> type)
      Return Timed annotations that should be used for the given method and type.
      Parameters:
      method - the source method
      type - the source type
      Returns:
      the Timed annotations to use or an empty set