Sun Java System Application Server Platform Edition 8.2 Developer's Guide

Attributes

The following table describes attributes for the cache element.

Table A–10 cache Attributes

Attribute  

Default  

Description  

max-entries

4096

(optional) Specifies the maximum number of entries the cache can contain. Must be a positive integer. 

timeout-in-seconds

30

(optional) Specifies the maximum amount of time in seconds that an entry can remain in the cache after it is created or refreshed. Can be overridden by a timeout element.

enabled

true

(optional) Determines whether servlet and JSP caching is enabled.