Future, A Token of Task Submission
Let s discuss what is Future and how is it used for monitoring a task. by
Future, A Token of Task Submission
I believe, the title is very abstract but clearly explains the purpose. The concurrency package is the boss when it s come to asynchronous programming. Of course, this is the continuation of my previous articles on asynchronous programming.
We have seen creating Threads and make use of Executor Framework for the Thread management. Also, We look at how to submit a task and how is it processed internally in the executor. But we haven t seen how to check the status or getting the result etc.
Async Programming Java: Part II
We will look deep at how the executor service works internally and various factory methods provided by the Executor framework. by
Join the DZone community and get the full member experience.Join For Free
This is part II of my previous article Async Programming in Java: Part I. We have seen the various ways to create threads and run them. Java Executor framework helps us to create, run and manage the threads.
We will look deep at how the executor service works internally and various factory methods provided by the Executor framework.
Executors
One of the most important Classes of the Java concurrency package is