+

Search Tips   |   Advanced Search

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, the 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 cachespec.xml.

To view this admin 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 set 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

JNDI name for the resource. Specify this name in the name attribute field in the <cache-instance> tag in cachespec.xml. This tag is used to find the particular cache instance in which to store cache entries.

Cache size

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.





 

Related tasks


Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache

 

Related

Servlet cache instance settings Object cache instance collection Object cache instance settings