com.springframework.boxes.jmetric.starter.interceptor.JMetric Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boxes-metric-starter Show documentation
Show all versions of spring-boxes-metric-starter Show documentation
spring-metric-boxes-boot-starter
package com.springframework.boxes.jmetric.starter.interceptor;
import java.lang.annotation.*;
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface JMetric {
/**
* 自定义监控属性,default是设置默认值
*
* @return 监控key
*/
String metric() default "";
/**
* 是否需要监控
*
* @return 是否监控
*/
boolean monitor() default true;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy