Spring Scheduler 동작 방식
현재 서버에서 Scheduler를 사용하는 중이고 Scheduler가 어떻게 동작하는지 알아 볼려고합니다.단일 스레드에서 스케줄링 작업들을 순차적으로 처리@Configurationpublic class ScheduledTasks { private final Logger log = LoggerFactory.getLogger(ScheduledTasks.class); @Scheduled(fixedRate = 1000) // 1초마다 taskA를 실행합니다. public void taskA() throws InterruptedException { Thread.sleep(10000); // 10초 동안 일시 중단합니다. log.info("taskA - {} - {}", L..
spring
2024. 6. 19. 22:00
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- setDateFormat
- 구글 소셜로그인
- WebFlux 의존성
- JPA SQL Injection
- BasicBinder
- org.springframework:spring-webflux
- 유저 스토리
- CreationTimestamp
- DispatcherServletInitializer
- 구글 OpenID
- Spring Boot 3
- 레이어드 아키텍처
- java 17
- feignClient
- ValidateException
- dto 검증
- dto 위치
- entity 검증
- defer-datasource-initialization
- @FormProperty
- FormProperty
- HTTPInterface
- HandlesTypes
- @ElementCollection
- Attribute Converter
- ServletContainerInitializer
- @Converter
- CreatedDate
- 유저 시나리오
- User Scenario
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함