All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dennisit.vplus.data.metric.annotation.JMetric Maven / Gradle / Ivy

package com.github.dennisit.vplus.data.metric.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface JMetric {

    /**
     * 自定义监控属性,default是设置默认值
     * @return 监控key
     */
    String metric() default "";

    /**
     * 是否需要监控
     * @return 是否监控
     */
    boolean monitor() default false;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy