
com.nxyfan.framework.common.timer.CommonTimerTaskRunner Maven / Gradle / Ivy
package com.nxyfan.framework.common.timer;
/**
* 定时器执行者,定时器都要实现本接口,并需要把实现类加入到spring容器中
*
* @author amour
* @date 2022/8/15 16:09
**/
public interface CommonTimerTaskRunner {
/**
* 任务执行的具体内容
*
* @author amour
* @date 2022/8/15 16:09
**/
void action();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy