Use this page to configure and manage object cache instances, which in addition to the default shared dynamic cache, can store, distribute, and share data for Java 2 Platform, Enterprise Edition (J2EE) applications. Use cache instances to give applications better flexibility and tuning of the cache resources.
To view this administrative console page, click Servers > On demand routers > ODR_name > On demand router settings > On demand router cache instance config.
Use the DistributedObjectCache programming interface to access the cache instances. For more information about the DistributedObjectCache application programming interface, see the API documentation.
Specify CELL SCOPE to view and configure the cache instances that are available to all servers within the cell. Specify NODE SCOPE to view and configure the cache instances that are available to all servers with the particular node. Specify SERVER SCOPE to view and configure the cache instances that are available only on the specific server.
Specifies the Java Naming and Directory Interface (JNDI) name for the resource. Use this name when looking up a reference to this cache instance. The results return a DistributedMap object.
Specifies a positive integer for the maximum number of entries the cache holds. The cache size is usually in the thousands. The default is 2000.
The minimum value is 100, with no set maximum value.
Specifies the default priority for cache entries. Lower priority entries are removed from the cache before higher priority entries when the cache is full. The priority for individual cache entries can be changed through the cache policy file. The default value is one. The range is one through 255.
Enable disk offload to specify that when the cache becomes full, cache entries should be removed from the cache and saved to disk. The location is a fully qualified directory location that is used by the disk offload function.
Specifies the directory that is used for disk offload. This value is ignored if disk offload is not enabled.
Flush to Disk option specifies that when the server is stopped, the contents of the memory cache should be moved to disk. This value is ignored if Enable Disk Offload is not selected.
Set this value to true to have invalidation events sent to registered invalidation listeners using the Java 2 Platform, Enterprise Edition (J2EE) context of the listener. If you want to use the caller thread context for callback, set this to false.
Specifies that the dynamic cache service, supports cache entry dependency IDs. Disable this option if you do not need to use dependency IDs. Dependency IDs specify additional cache group identifiers that associate multiple cache entries to the same group identifier in your cache policy.
This option might not be available for cache instances that were created with a previous version of WebSphere Application Server.