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