Let us consider a scenario where you want to make multiple
service calls and combine the results at the end.
There are multiple ways how this can be achieved, we are
going to see how we can do the same using Future and ExecutorService in java.
Let us first understand how and where Future class has to be
used.
As per Javadoc a Future is...
Showing posts with label multi threading. Show all posts
Showing posts with label multi threading. Show all posts