Java multi-thread 12 design patterns, java multi-thread design patterns

Source: Internet
Author: User

Java multi-thread 12 design patterns, java multi-thread design patterns

1. Single Threaded Execution Pattern (Single-thread Execution Mode)

2. Immutable Pattern (Immutable Mode)

3. Guarded Suspension Pattern (Defense pause Mode)

4. Balking Pattern (stop mode, stop mode)

5. Producer-Consumer Pattern (Producer-Consumer Mode)

6. Read-Write Lock Pattern (Read-Write Lock mode)

7. Thread-Per-Message Pattern (one Thread mode for each Message)

8. Worker Thread Pattern (Worker Thread mode), also known as Background Thread (Background Thread)

9. Future Pattern

10. Two-Phase Termination Pattern (Two-Phase Termination Mode)

11. Thread-Specific Storage Pattern (dedicated Thread Storage mode for memory space provided by each Thread)

12. Active Object Pattern


The above is a common design pattern in java multi-threaded programming.


Will XP make full use of hardware than 98, so that the game runs smoothly?

As a system that has served for more than ten years, it has ushered in its own home. Now, netizens around the world can't help but respect this tenacious system that exists in microsoft for more than 10 years. Only by constantly exploring, trying, and innovating can we make the system operation more humane. This is not comparable to XP 7 and 8.1.
 
Detailed description of java multi-thread design mode which can be downloaded

Csdn. You can check it out.

There are a lot of books above

Www.csdn.net
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.