1 Star 0 Fork 1

MiGet / TaskMonitor

forked from cwang / TaskMonitor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TaskMonitor.java 533 Bytes
一键复制 编辑 原始数据 按行查看 历史
cwang 提交于 2018-12-01 23:33 . 定时任务监控代码
package com.xxx.aop;
import org.springframework.stereotype.Component;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* desc:定时任务监控注解
*
* @author wangchengwang
* @date 2018/11/21
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Component
public @interface TaskMonitor {
/**
* 定时任务名称
*
* @return String string
*/
String taskName();
}
Java
1
https://gitee.com/lxw030435/TaskMonitor.git
git@gitee.com:lxw030435/TaskMonitor.git
lxw030435
TaskMonitor
TaskMonitor
master

搜索帮助