Created
May 30, 2020 06:05
-
-
Save alvindizon/8e4f2558fc9da310f61149c08730056b to your computer and use it in GitHub Desktop.
sample custom thread pool config (from Vasiliy Zukanov)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new ThreadPoolExecutor( | |
3, | |
Integer.MAX_VALUE, | |
60, | |
TimeUnit.SECONDS, | |
new SynchronousQueue<Runnable>() | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment