Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Persistence: Plugins: LRU Data Cache

Configuration Options     Related Tasks     Related Topics

This page shows the attributes of an LRU data cache.

Configuration Options

Name Description
Name

The name of this data cache.

Cache Size

The maximum number of unpinned objects to keep hard references to. If the hard reference cache is full, then adding new entries forces the oldest entries to move to the soft cache. Entries that have outlived their lifetime in the hard reference cache are not moved to the soft reference cache when they are evicted.

Soft Reference Size

The maximum number of unpinned objects to keep soft references to. Entries in the hard reference cache, when forced out due to space limitations before their cache lifetimes have expired, are moved to the soft reference cache, if it is enabled. If the soft reference cache is full, adding new entries will force the soft reference cache to drop existing entries. If the SoftReferenceSize is set to -1 (its default size), then its size is unlimited. The soft reference cache may be disabled by setting its size to 0. The Java garbage collector may exercise its option to clear the soft reference cache at any time.

Eviction Schedule

The eviction schedule, if any, for the cache. Accepts a cron style eviction schedule. The format of this property is a whitespace-separated list of five tokens, where the * symbol (asterisk), indicates match-all. Multiple entries for each token can be entered by separating them with commas. The tokens are, in order: 1. Minute 2. Hour of Day 3. Day of Month 4. Month 5. Day of Week For example, the following eviction schedule evicts values from the cache at 15 and 45 minutes past 3 PM on Sundays: "15,45 15 * * 1". Both the hard reference cache and the soft reference cache are evicted at the same time.

Related Tasks

Related Topics


Back to Top