-
BoundedThreadpoolExecutor implemented using Semaphore. Java executor service throws RejectedExecutionException when the task queue becomes full. Using unbounded queue may result in out of memory error. This can be avoided by controlling the number of tasks being submitted using executor service. This can be done by using semaphore or by implementing RejectedExecutionHandler.
-
StripedExecutorService: The purpose of this executor service is to distribute the tasks in round robin fashion. This will help us to avoid customer starvation which can/may happen in case of single thread pool
-
Notifications
You must be signed in to change notification settings - Fork 0
ThatYodaCoder/custom-thread-pools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published