Skip Headers

# Configure the Cache on a Per-Class Basis

Previous

Next

If other applications can modify the data used by a particular class, use a weaker style of cache for the class. For example, the `SoftCacheWeakIdentityMap` or `WeakIdentityMap` minimizes the length of time the cache maintains an object whose reference has been removed.

For more information, see "Configuring Cache Type and Size at the Descriptor Level".