7.2 View and Manage Cache Settings

Following cache settings apply to both clustered and non-clustered application servers. For more information, see How these cache settings work.

NOTE:The changes to the cache configuration will take effect after application restart.

Basic Cache Settings

Settings

What to do

Lock Acquisition Timeout

Specify the time interval (in milliseconds) that the cache waits for a lock to be acquired on an object.

You might want to increase this setting if the Identity Applications imposes a lot of lock timeout exceptions in the application log.

The default value is 15000 ms.

Wake Up Interval

Specify the time interval (in seconds) that the cache eviction policy waits before invoking the following activities:

  • Processes the evicted node events.

  • Cleanup the size limit and expired nodes.

Eviction Policy Class

Specify the classname for the cache eviction policy that you want to use.

The default is the LRU eviction policy that JBoss Cache provides:

org.jboss.cache.eviction.LRUPolicy

If appropriate, you can change this to another eviction policy that JBoss Cache supports.

HINT:In Local Settings, select Enable Local for the required settings to override the global settings and specify the values.

Non Customizable Cache Settings

Settings

What to do

Max Nodes

Specify the maximum number of nodes allowed in the cache.

If you don’t want restrict the number of nodes, specify 0.

Time To Live Seconds

Specify the time to idle (in seconds) before the node is swept away.

If you don’t want restrict the Time To Live Seconds, specify 0.

HINT:In Local Settings, select Enable Local for the required settings to override the global settings and specify the values.

Click Save to save your configuration values.

Customizable Cache Settings

This allows you to customize certain cache holders in identity applications. To modify the cache holders:

  1. Click the Cache Holder ID that you want to modify.

  2. (Conditional) Change the required values such as Max Nodes, Time To Live Seconds, and Max Age.

    NOTE:The system clears the events in the cache according to the value specified for Max Age.

  3. (Conditional) In Local Settings, select Enable Local for the required settings to override the global settings and specify the values.

  4. Click Save.