Network Deployment (Distributed operating systems), v8.0 > Reference > Sets


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 JNDI name specified for the cache instance is mapped to the name attribute in the <cache-instance> tag in the cachespec.xml configuration file. From the console...

   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

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

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.
Use the DistributedMap and DistributedObjectCache interfaces for the dynamic cache


Related


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

+

Search Tips   |   Advanced Search