Hacker News new | ask | show | jobs
by kaba0 997 days ago
You can just swap a single line in your ExecutorService then for all the benefits.
1 comments

ExecutorService can be configured in many different ways, for example I often create one with boubned queue and CallerRunsPolicy, I somehow couldn't find equivalent virtual executor.