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

timeout

Specifies the cache-mapping specific maximum amount of time in seconds that an entry can remain in the cache after it is created or refreshed. If not specified, the default is the value of the timeout attribute of the cache element.

Superelements

cache-mapping (sun-web.xml)

Subelements

none - contains data

Attributes

The following table describes attributes for the timeout element.

Table A–124 timeout Attributes

Attribute  

Default  

Description  

name

none 

Specifies the timeout input parameter, whose value is interpreted in seconds. The field’s type must be java.lang.Long or java.lang.Integer.

scope

request.attribute

(optional) Specifies the scope from which the input parameter is retrieved. Allowed values are context.attribute, request.header, request.parameter, request.cookie, request.attribute, and session.attribute.