Cache instances properties file

You can configure an object or servlet cache using the cacheinstances.properties file.

Table 1. Cache instances properties
Property name – x is the instance number Required Scope Possible Value Description
cache.instance.x Yes Per cache instance any string (no default set) Specifies cache instance name or JNDI name.
cache.instance.x.cacheSize No Per cache instance >0 (default=2000) Specifies the maximum number of entries that are allowed in a single partition within theWebSphere® eXtreme Scale grid. Multiply this by the number of partitions to see the capacity of the cache in the WebSphere eXtreme Scale grid.
cache.instance.x.createCacheAtServerStartup No Per cache instance True or false (default=false) Specifies whether the configured cache instance is created during the server startup.
cache.instance.x.enableServletSupport No Per cache instance True or false (default=false) Specifies whether the cache instance is servlet cache or object cache.
cache.instance.x.enableCacheReplication Yes (only until APAR) Per cache instance True or false (default=false) Indicates that the cache is remote from the application server. This property must be set to True in WebSphere eXtreme Scale remote topology.
cache.instance.x.cacheProviderName Yes Per cache instance com.ibm.ws.objectgrid.dynacache.CacheProviderImpl Indicates the dynamic cache provider. Will default to WebSphere Application Server provider if WebSphere eXtreme Scale is not specified.
cache.instance.x.ignoreValueInInvalidationEvent No Per cache instance True or false (default=false) Specifies whether the cache value of the Invalidation event is ignored. If it is true, the cache value of Invalidation event is set to NULL when the code is returned to the caller.
cache.instance.x.<custom property> Depends on which property you want to add. Per cache instance Depends on which property you want to add. Any custom property can be added to this file.