Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
941 views

Java8 - CompletableFuture - Running methods in async call sequentially

So I have this code block: someMethod(SomeParameter someParameter) { for (SomeObject: object) { if (someObject is true) { callSomeMethod(someParameter); } else { ...
Jet Waitforit Torres's user avatar
3 votes
1 answer
856 views

Why does ForkJoinPool use ThreadPerTaskExecutor?

We run an Akka application in Java on two CPU environment and we observed that with every tell a new Thread is initiated instead of taking them from the pool. Akka default dispatcher uses ForkJoinPool ...
arc's user avatar
  • 31