Object pool pattern: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
m Removed parameters. | You can use this bot yourself. Report bugs here. | Activated by User:Neko-chan | Category:Software design patterns | via #UCB_Category
Line 258:
}
</source>
In the code above, the PooledObject includes two properties that are not shown in the UML diagram. One holds
the time at which the object was first created. The other holds a string that can be modified by the client
but that is reset when the PooledObject is released back to the pool. This shows the clean-up process on release