com.ideaaedi.commonspring.lite.monitor.WatchTime Maven / Gradle / Ivy
package com.ideaaedi.commonspring.lite.monitor;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 记录耗时
*
* @author JustryDeng
* @since 2100.10.7.LTS8
*/
@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.METHOD)
public @interface WatchTime {
/**
* 任务名称
*
* 为空则自动取:类简名#方法名
*
*/
String value() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy