Skip to content

Instantly share code, notes, and snippets.

@stefanotroia
Created November 13, 2019 17:15
Show Gist options
  • Save stefanotroia/13471145dee22fb413a8240a21a64594 to your computer and use it in GitHub Desktop.
Save stefanotroia/13471145dee22fb413a8240a21a64594 to your computer and use it in GitHub Desktop.
Executor sample
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