Advanced Java: Multi-threading Part 13 - Callable and Future

  • 7 лет назад
Get complete courses at \r
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 its running or not. Although they sound fearsome, as youll see in this tutorial, Future and Callable are not much harder to work with than Runnable.