The Object Pool Pattern

Adam Freeman · Apress eBooks · 2014

The object pool pattern is a variation on the singleton pattern that provides access to multiple identical objects rather than a single instance. This is useful when you have objects that represent a set of fungible resources, each of which can be used by only one component at a time. In this chapter, I describe the basic object pool pattern, and in Chapter 8 I show you some useful variations that allow object pools to adapt to different situations. Table 7-1 puts the object pool pattern in context. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Read the paper · More papers on PaperTik