반응형
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
- weblogic 10
- RabbitMQ
- Redis Sentinel
- WebLogic
- spring cloud
- Netty
- KAFKA
- coalesce
- docker
- jmeter
- Hibernate
- ChannelPipeline
- JPA
- vue.js
- MySQL
- argo cd
- grafana
- netflix oss
- Docker Compose
- docker-compose
- spring boot
- redis
- Spring Open Feign
- spring boot redis
- Selenium
- mybatis
- cassandra
- QueryDSL
- docker compose mysql
- Airflow
Archives
- Today
- Total
목록2018/11/12 (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