Top "Threadpoolexecutor" questions

In Java, an ExecutorService that executes each submitted task using one of possibly several pooled threads.

LinkedBlockingQueue put vs offer

I have a linked blocking queue in which I am performing insertion and removal operations. I need to know which …

java multithreading threadpoolexecutor
ThreadPoolExecutor with unbounded queue not creating new threads

My ThreadPoolExecutor is failing to create new threads. In fact I wrote a somewhat hacky LinkedBlockingQueue that will accept any …

java multithreading threadpool threadpoolexecutor
Spring ThreadPoolTaskScheduler vs ThreadPoolTaskExecutor

It is mentioned in the Spring documentation that: ThreadPoolTaskScheduler actually implements Spring's TaskExecutor interface as well, so that a single …

spring task scheduled-tasks threadpoolexecutor executor
Default ForkJoinPool executor taking long time

I am working with the CompletableFuture for async execution of a stream generated from a list source. so i am …

java-8 executorservice threadpoolexecutor completable-future forkjoinpool
How to create a different ThreadPoolTaskExecutor in Spring Boot?

I am now using @EnableAsync and @Async annotation to use multithreaded in Spring Boot. I have service A(fast) and …

java spring multithreading spring-boot threadpoolexecutor
ThreadPoolExecutor and the queue

I thought that using ThreadPoolExecutor we can submit Runnables to be executed either in the BlockingQueue passed in the constructor …

java multithreading concurrency java.util.concurrent threadpoolexecutor
Avoiding RejectedExecutionException in Android 4.4 when app uses list

In Android 4.4 there seems to be a change in the code that causes list icons to be loaded using AsyncTasks. …

android android-asynctask android-4.4-kitkat threadpoolexecutor
Perform requests with Retrofit inside custom Runnable

I am migrating from Volley to a custom implementation using Retrofit, but I'm trying to add to my implementation some …

android threadpoolexecutor retrofit
TaskRejectedException in ThreadPoolTaskExecutor

I am trying to call an API asynchronously using Spring's Async and using the ThreadPoolTaskExecutor in my Thread Config which …

spring threadpoolexecutor
How many AsyncTasks i can run in an single process application

I am using asyncTasks, to load list elements with images (Just followed android's tutorial of efficiently loading bitmaps) In DDMS, …

android android-asynctask executorservice threadpoolexecutor