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