10 2022 档案

摘要:1.延时队列元素定义 public class DelayTask implements Delayed { /** * 开始计时时间 不设置则默认为当前系统时间 */ private transient Date taskStartTime = new Date(); /** * 过期时间 不设置 阅读全文
posted @ 2022-10-26 17:07 higsan 阅读(112) 评论(0) 推荐(0) 编辑
摘要:/** * 扫描包,过滤出所有包含指定注解的类, 然后将类中所有指定注解属性替换。 * * @param */ public List<Class> getClassesForAnnotation(String scanPackage, Class annotationClass) { //需要扫描 阅读全文
posted @ 2022-10-08 11:51 higsan 阅读(64) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示