Documentation Center

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 elementMust occur at leastMay occur at mostElement type
Param0 times (optional)any number of timesNone

Attributes

AttributeDescription and useType
Class

Specifies the Java class name that implements the caching policy. The only value you can select for the Class attribute is com.tridion.cache.LRUPolicy.

(required)
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 LRU.

(optional)
string