Category "executorservice"

Which ExecutorService is best for blocking IO tasks

Let's imagine that we have n independent blocking IO tasks e.g. tasks for rest-call to another server. Then all answer we need to combine. Every task can be pro

Does a java thread come back to running state soon after it receives the response in wait state after making rest template call?

I have a REST API service which makes an REST API to an external system using RestTemplate. Time out set is 3 sec. To make this external call, I have an Executo

Execution Flow for Executor Service

I am using Executor Service for multithreading. I have the below code: ExecutorService executor = Executors.newFixedThreadPool(100); final Multimap<String,

Getting this error while calling a hardcoded insert query in myBatis

10:59:35,454 ERROR [stderr] (pool-6-thread-1) org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: