
쓰레드 생성 과정 1. Runnable 인터페이스를 구현한 인스턴스 생성 2. Thread 인스턴스 생성 3. start 메소드 호출 예제코드1 class Solution { final static ThreadLocal threadLocal = new ThreadLocal(); public static void main(String[] args) { Runnable task = () -> { threadLocal.set(1); int num1 = 10; int num2 = 20; String ctName = Thread.currentThread().getName(); System.out.println(MessageFormat.format("num1 + num2 = {0} from {1} and threa..
[ 백엔드 개발 ]/[ Java,Kotlin ]
2022. 4. 6. 21:48
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- K8s
- 카프카
- github actions
- Controller
- go
- rolling update
- Stream
- GitOps
- CICD
- ci/cd
- Java
- argocd
- RDB
- golang
- Linux
- LFCS
- Non-Blocking
- Kubernetes
- 컨트롤러
- kafka
- jvm
- 코틀린
- db
- spring
- container
- 우분투
- 쿠버네티스
- docker
- helm
- ubuntu
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함