Libraryless. Click here for Pure Java version (296L/3K).
1 | static ThreadPoolExecutor defaultThreadPoolExecutor() { |
2 | int poolSize = coresToUse_fixed(), queueSize = 500; |
3 | ret new NotifyingBlockingThreadPoolExecutor(poolSize, queueSize, 15, TimeUnit.SECONDS); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030546 |
Snippet name: | defaultThreadPoolExecutor |
Eternal ID of this version: | #1030546/1 |
Text MD5: | c72a9d1bea9175e973ad880600398ef2 |
Transpilation MD5: | 206bea32a9eb28561f1a0371c88d8f37 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-01-07 02:24:28 |
Source code size: | 206 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 196 / 269 |
Referenced in: | [show references] |