Policy
This topic describes the Policy element.
Description
Determines what policy the cache uses to determine which objects stay in the cache and which objects are removed from the cache when it is full.
Child element properties
Note: Child elements must occur in the order shown.
Child elements
| Child element | Must occur at least | May occur at most | Element type |
|---|---|---|---|
| Param | 0 times (optional) | any number of times | None |
Attributes
| Attribute | Description and use | Type |
|---|---|---|
| Class | Specifies the Java class name that implements the caching policy. The only value you can select for the | string |
| Type | The Least Recently Used (LRU) policy governs how objects are cached. When the cache reaches its maximum size, the least recently used objects are removed from the cache. There is no other value available for this attribute than | string |