Boos's Discovery

  • 홈
  • 태그
  • 방명록

Spring proxy 1

Spring @Async 사용 예제

다음과 같은 코드가 있다. DB 에서 처리할 작업 목록을 가지고 와서 하나씩 처리하는 코드인데, 한번에 하나씩 즉, 동기식으로 동작한다.@Sl4j@Componentpublic class ScheduledTask { private final DoService doService; private final DoMapper doMapper; @Scheduled(fixedDelayString = "300000") public void analyze() { Job job; while((job = doMapper.findJobsWithNotRunning()) != null) { int rs = doMapper.updateJobStatusIfNotRun..

Engineering/Spring 2025.06.09
이전
1
다음
더보기
프로필사진

Boos's Discovery

당당하게 걷기

  • 분류 전체보기 N
    • Thinking
      • Book
      • Music
      • Writing
      • Study
      • CodingGame
      • 웹소설
    • Traveling
    • Tasking
    • Living N
      • Lotto N
    • Engineering
      • BSD
      • DB
      • Facebook
      • Etc
      • JNI
      • Kernel
      • Linux
      • Mac
      • Docker
      • Network
      • Tomcat
      • PHP
      • javascript
      • Vue
      • Spring
      • Python
      • Java
      • ShellScript
      • Elasticsearch
      • C#
      • Redis
      • Flutter
      • Unity
      • Android
      • Windows
      • AI

Tag

MAC, Lotto, xcrun altool, 로또 6/45, 연금 복권 번호, yt-dlp, 국민연금, Python, 박성현, upload, tail -f, 티스토리챌린지, MySQL, redis, docker, docker build, 로또 번호, 로또, 연금 복권, 오블완,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 네이버 블로그 - firstboos

티스토리툴바