Abstract
This chapter looks at the Gang-of-Four Observer design pattern from a multithreaded perspective. Observer is one of the more useful design patterns if your goal is to loosen coupling relationships between classes. It is essential, really, for building truly reusable components. It turns out that, as usual, problems arise in implementing Observer that wouldn’t exist were threads not on the scene, and this chapter examines solutions to those problems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2000 Allen I. Holub
About this chapter
Cite this chapter
Holub, A. (2000). Observers and Multicasters. In: Taming Java Threads. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1129-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1129-7_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-893115-10-1
Online ISBN: 978-1-4302-1129-7
eBook Packages: Springer Book Archive