A caching store for objects.
A caching store will hold on to some objects for some
time, but may fail to store them. It is used as an
optimization, so that objects that have already been
constructed, need not be made again. The null object
should not be stored under a key as there is no way
to distingish this from a missing object.
Cache objects are usually created using the
CacheManager .
An object is associated with a key which is used to
identify the object on retrieval. Only one object may be
associated with a key.
author: bwm |