All Questions
2 questions
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 {
...
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 ...