Trail: Essential Classes
Lesson: Concurrency
Section: High Level Concurrency Objects
Executors
Home Page > Essential Classes > Concurrency

Executors

In all of the previous examples, there's a close connection between the task being done by a new thread, as defined by its Runnable object, and the thread itself, as defined by a Thread object. This works well for small applications, but in large-scale applications, it makes sense to separate thread management and creation from the rest of the application. Objects that encapsulate these functions are known as executors. The following subsections describe executors in detail.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Lock Objects
Next page: Executor Interfaces



Spec-Zone.ru - all specs in one place