Really cache feature type attributes in resource pool
-----------------------------------------------------
Key: GEOS-4102
URL: http://jira.codehaus.org/browse/GEOS-4102
Project: GeoServer
Issue Type: Improvement
Components: Configuration
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.1.x
Attachments: GEOS-4102.patch
The resource pool contains a feature attribute cache that is not really in use (there is a TODO in the code).
The current code however calls directly for the attributes when building a feature source, so caching them has become critical.
The small patch attached enables effective caching, avoiding a scan of the data directory for the schema file every single time a feature source is build (e.g., for every request)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira