![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
sinat_30075299
这个作者很懒,什么都没留下…
展开
-
Spring 异步任务
概览 支持异步任务的类在坐标为spring-context工程中,所在包为org.springframework.scheduling 异步任务的启用 基于xml配置 <beans> <task:annotation-driven executor="myExecutor"/> <task:executor id="myExecutor" pool-size="7-42" queue-capacity="11"/> <bean原创 2020-08-22 13:51:57 · 552 阅读 · 0 评论 -
spring boot 学习整理
pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4原创 2020-05-30 16:46:07 · 271 阅读 · 0 评论 -
Spring Boot 集成Spring Schedule定时任务执行功能(动态修改执行时间)
Spring Boot 集成Spring Schedule 启动类添加@EnableScheduling注解 支持动态执行时间 实现接口SchedulingConfigurer的方法configureTasks方法 调用参数ScheduledTaskRegistrar类的addTriggerTask方法,新建线程执行业务逻辑,新建Trigger获取执行时间 参考:https://blog.csdn...原创 2019-06-21 20:15:55 · 4221 阅读 · 0 评论