public class SaneThreadPoolExecutor
implements java.util.concurrent.Executor, MatsSocketStatics
Trick to make ThreadPoolExecutor work as anyone in the world would expect: Have a constant pool of "corePoolSize",
and then as more tasks are concurrently running than threads available, you increase the number of threads until
"maxPoolSize", at which point the rest go on queue.
Snitched from https://stackoverflow.com/a/24493856.
Nested Class Summary
Nested classes/interfaces inherited from interface io.mats3.matssocket.impl.MatsSocketStatics