9.2 Chapter Goals

 < Day Day Up > 



9.2 Chapter Goals

After finishing this chapter you should be able to:

  • Understand how a notification object can be used to create a fair component.

  • Optimize a component by using a notification object to reduce the number of threads that are notified and moved from a wait queue.

  • Relax the rules for synchronizing a monitor so that a component is faster as it allows more concurrency in the object.

  • Understand the concept of confinement and how it can be used to control access to a component to ensure that it is safe to use the component concurrently even if some of the methods in the monitor are not synchronized.

  • Create a thread-safe component by allowing the component to be given to one and only one thread at a time by using the Java Event Model.

  • Implement an adapter to provide special handling of messages and events for other components and threads.

  • Decompose a more complicated system into several simpler parts by using interfaces and intermediary components.



 < Day Day Up > 



Creating Components. Object Oriented, Concurrent, and Distributed Computing in Java
The .NET Developers Guide to Directory Services Programming
ISBN: 849314992
EAN: 2147483647
Year: 2003
Pages: 162

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net