Servlet cache instance collection
A servlet cache instance is a location, in addition to the default shared dynamic cache, where dynamic cache can store, distribute, and share data. By using servlet cache instances, your applications have greater flexibility and better tuning of the cache resources. The Java Naming and Directory Interface (JNDI) name specified for the cache instance is mapped to the name attribute in the <cache-instance> tag in the cachespec.xml configuration file.
To view this console page, click Resources > Cache instances > Servlet cache instances.
- Scope
Specify CELL SCOPE to view and configure cache instances that are available to all servers within the cell. Specify NODE SCOPE to view and configure cache instances that are available to all servers with the particular node. Specify SERVER SCOPE to view and configure cache instances that are available only on the specific server.
- Name
- Required display name for the resource.
- JNDI name
Specify the Java Naming and Directory Interface (JNDI) name for the resource. Specify this name in the name attribute field in the <cache-instance> tag in the cachespec.xml configuration file. This tag is used to find the particular cache instance in which to store cache entries.
- Cache size
Specify 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.
Related tasks
Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache
Related Reference
Servlet cache instance settings Object cache instance collection Object cache instance settings
Reference topic