Ch 1 Flashcards
Chain of responsibility
Avoid coupling a sender of a request to a receiver create a chain of receiving objects.
Multitron
Class has named instances with global access. Use map for one instance per name.
Scheduler
Explicitly control when threads execute single threaded code.
Flyweight
Share a large number of fine grained objects using tables.
Bridge
Decouple abstraction from implementation
Active object
Decouple method execution from method invocation (asynchronous)
Reactor
Asynchronous interface for resourceS that must be handled synchronously.
Composite
Tree structure
Adapter
Convert one interface into another
Thread pool
Special case of object pool
Abstract factory
Interface for creating family of related objects without concrete classes.
Create a specific factory, use interface to access it
Builder
Separate construction of an object from its representation. Avoid telescoping constructors.
Thread local storage
Static or global data specific to a thread
Command
Encapsulate a request in an object. The command pattern forwards the request to a specific object for execution.
Observer
State change in an object results in notification to all dependencies.