Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- wire type
- java list
- asynccustomautoconfiguration
- Spring JPA
- micrometer tracing
- @FunctionalInterface
- java lambda
- CompletableFuture
- aws secretmanager
- DeferredImportSelector
- spring
- awssecretsmanagerpropertysources
- kotlin
- java
- jpa
- Spring Boot
- Sleuth
- elasticsearch
- grpc
- SpringMVC
- ResponseBody
- HashMap
- list
- java.util.list
- EnableWebMvc
- asyncconfigurer
- spring MVC
- map
- traceId
- traceasynccustomautoconfiguration
Archives
- Today
- Total
목록@EnableScheduling (1)
du.study기록공간
Spring Scheduling @EnableScheduling, @Scheduled
이번엔 스프링에서 사용하고 있는 Scheduling에 대해서 기록해보려합니다. 현재 저희 프로젝트에서는 일정시간단위로 반복되는 작업 처리 방법 중 하나로 해당 Scheduled를 사용하고 있습니다. 오늘 갑자기 코드를 보면서 해당 @Scheduled 가 어떻게 실행되고 set되는지가 궁금하여 조금 간략하게나마 여기에 기입해보려합니다. 먼저 Spring에서 Scheduling을 사용하려면 @Configuration을 선언한 설정파일과 같이 @EnableScheduling를 선언해야합니다. @Configuration @EnableScheduling public class ScheduleConfiguration implements SchedulingConfigurer { @Override public void..
스프링
2020. 5. 27. 22:19