Sunday, April 21, 2013

"Java 7 Concurrency Cookbook" by Javier Fernández

Pranaam. I'm currently working out "Java 7 Concurrency Cookbook" by Javier Fernández. It's a Oct 2012 edition. Finding these examples are lucid, that I can be very easily develop without being an expert Java programmer myself. Concurrency subject is dealt in other programming languages as well, but since Java has a large base in commercial software applications and there is ready material in-hand, it was an easy decision to work through Java 7.



Parallel processing and optimized high performance computing are interesting subjects that can solve large compute problems .It's essential to solve a problem quickly  and make result available for the next set of actions.  Sometimes its necessary to know which areas in a compute solutions are to be parallelized and which shouldn't be. It's an intriguing subject. The next area for me would be researching Design Patterns in concurrency. But before I get to that, creating a running log of areas covered from this book.

  • Thread Management
    • Creating & Running threads
    • Get thread information
    • Interrupt threads
    • Control Interruption of threads
    • Sleeping and Resuming threads
    • Waiting for Finalization of threads
    • Creating and running Daemon threads
    • Processing uncontrolled Exceptions in threads 
    • Using ThreadLocal variables
    • Grouping threads into a group 
    • Processing unchecked exceptions in ThreadGroup
    • Using factory pattern to create Thread
  • Basic Thread Synchronization
    • Synchronizing a method
    • Arranging independent attributes in synchronized blocks using Object references   
    • Using conditions in synchronized code block
    • Using Lock to synchronize a code block       
    • Synchronizing data read/write operations using Lock
    • Lock fairness
    • Using multiple conditions in Lock
  • Thread Synchronization utilities
    •  

No comments: