반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Hibernate
- vue.js
- weblogic 10
- Airflow
- mybatis
- docker compose mysql
- QueryDSL
- Selenium
- MySQL
- redis
- ChannelPipeline
- coalesce
- cassandra
- Netty
- jmeter
- RabbitMQ
- netflix oss
- argo cd
- docker
- KAFKA
- spring cloud
- docker-compose
- Docker Compose
- Redis Sentinel
- spring boot redis
- Spring Open Feign
- grafana
- spring boot
- WebLogic
- JPA
Archives
- Today
- Total
목록Thread (1)
IT.FARMER
ExecutorService / ThreadPoolExecutor
Mulity Thread 동시 작업을 하기 위한 방법으로 1.5 에서 제공하는 ExecutorService 를 사용한다. 예전엔 Thread를 관리하기 위해 ThreadGroup을 만들고 관리 하는 방법이 복잡하고 어려운점이 있었다. ExecutorService를 이용하면 내부적으로 ThreadPoolExecutor 를 생성한다. (new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue());) threadPoolExecutor 인자 ThreadPoolExecutor(corePoolSize, maximumPoolSize ,keepAliveTime, TimeUnit, BlockingQueue) ..
JAVA
2018. 11. 12. 21:05