摘要: /** * 函数式接口 * @param supplier 要去做什么事情 get获取到做的事情的返回值 */ public static void supplierTest(Supplier<Integer> supplier){ Integer max = supplier.get(); Sys 阅读全文
posted @ 2022-11-01 23:31 花心大萝卜li 阅读(116) 评论(0) 推荐(0)
摘要: 在低版本的 xxl-job 中, 初始化 XxlJobSpringExecutor 执行器需要在 @Bean 中加上 initMethod = "start", destroyMethod = "destroy",但是在高版本的 xxl-job(如 2.1.2)则需要删除 initMethod = 阅读全文
posted @ 2022-11-01 10:33 花心大萝卜li 阅读(692) 评论(0) 推荐(0)