Skip to Content
Software Architecture Design Patterns in Java
book

Software Architecture Design Patterns in Java

by Partha Kuchana
April 2004
Intermediate to advanced
520 pages
10h 10m
English
Auerbach Publications
Content preview from Software Architecture Design Patterns in Java

VIII CONCURRENCY PATTERNS

Concurrency patterns deal with:

  • Ways to lock class code and an order of locking objects to prevent the occurrence of race conditions and deadlocks
  • The details of streamlining access to an application resource to improve the overall application responsiveness
  • The details of method execution while a required precondition is not met
Chapter Pattern Name Description
41 Critical Section Stricter form of Monitor. Used to lock the code at the class level to keep multiple threads from executing the locked code even on two different instances of the same class.
42 Consistent Lock Order Recommends identifying and documenting a well-defined order of locking objects to be followed consistently during the design ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Java

Hands-On Software Architecture with Java

Giuseppe Bonocore

Publisher Resources

ISBN: 9780203496213