Cache Identity Map Options

Use this table to enter data in each of the following fields to specify the caching options:

Field | Description
--- | ---

Type

Use the Type list to choose the identity map:

- Weak with Soft Subcache (`SoftCacheWeakIdentityMap`)–cache first n elements in soft space, anything after that in weak space (see "Soft and Hard Cache Weak Identity Maps").

- Weak with Hard Subcache (`HardCacheWeakIdentityMap`)–cache first n elements in soft space, anything after that in hard space (see "Soft and Hard Cache Weak Identity Maps").

- Weak (`WeakIdentityMap`)–cache everything in weak space (see "Weak Identity Map").

- Full (`FullIdentityMap`)–cache everything permanently (see "Full Identity Map").

- None (`NoIdentityMap`)–cache nothing (see "No Identity Map").

For more information, see "Cache Type and Object Identity".

Changing the project's default identity map does not affect descriptors that already exist in the project.

Size

Specify the size of the cache:

- When using Weak with Soft Subcache or Weak with Hard Subcache, the size is the maximum number of objects stored in the identity map.

- When using Full or Weak, the size indicates the starting size of the identity map.

See Also

  Configuring Cache Type and Size at the Project Level
  Configuring Cache Type and Size at the Descriptor Level
  Understanding the Cache