+

Search Tips   |   Advanced Search

Object cache instance collection

Configure and manage object cache instances, which in addition to the default shared dynamic cache, can store, distribute, and share data for Java EE applications. Use cache instances to give applications better flexibility and tuning of the cache resources.

From the admin console, click...

        Resources > Cache instances > Object cache instances.

Use the DistributedObjectCache programming interface to access the cache instances. For more information about the DistributedObjectCache application programming interface, see the API documentation.


Scope

In multiple-server environments, specify CELL SCOPE to view and configure cache instances that are available to all servers within the cell.

In single-server environments, specify NODE SCOPE to view and configure cache instances available to all servers with the particular node. Specify SERVER SCOPE to view and configure cache instances available only on the specific server.


Name

Required display name for the resource.


JNDI name

JNDI name for the resource. Use this name when looking up a reference to this cache instance. The results return a DistributedMap object.


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
  • Object cache instance settings
  • Servlet cache instance collection