类 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.
从以下版本开始:
2.5.0
作者:
Phillip Webb
  • 方法详细资料

    • 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.
      参数:
      method - the source method
      type - the source type
      返回:
      the Timed annotations to use or an empty set