Created
November 13, 2019 17:15
-
-
Save stefanotroia/13471145dee22fb413a8240a21a64594 to your computer and use it in GitHub Desktop.
Executor sample
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
ListeningExecutorService service = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment