Advanced Java: Multi-threading Part 13 - Callable and Future
Channel: Cave of Programming
Date: 17/02/2012

More courses! Free C++ course: https://www.udemy.com/course/free-learn-c-tutorial-beginners/?referralCode=66F2A2A36BD6D304C9D9
Make a social network with Spring Boot: https://www.udemy.com/course/java-spring-social-network/?referralCode=4C26D3598A4B1A5746FB
Learn about MySQL and relational databases: https://www.udemy.com/course/mysql-and-sql-from-beginner-to-advanced/?referralCode=5761BF2ABAD4E79E3E78
Java desktop programming: https://www.udemy.com/course/java-swing-complete/?referralCode=D0F4D66AE3725509DED4
Intermediate-Advanced C++ 11: https://www.udemy.com/course/learn-advanced-c-programming/?referralCode=FD10A334798EDB9ED1AC
-------------------------------------------------------------------------------------------------------------------------------------------
This is a tutorial on Callable and Future, classes which allow you to get return results from your thread code and to throw exceptions from it. You can also use a Future to control your running thread and to check whether it's running or not. Although they sound fearsome, as you'll see in this tutorial, Future and Callable are not much harder to work with than Runnable.
--------------------------------------------------------------------------------------------------------------------------------------------
More videos on my YouTube channel: https://www.youtube.com/user/caveofprogramming