ContentDataStore should allow for configurable caching of metadata
------------------------------------------------------------------

                 Key: GEOT-2022
                 URL: http://jira.codehaus.org/browse/GEOT-2022
             Project: GeoTools
          Issue Type: Improvement
          Components: data
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.0, 2.6-M0


The base class of JDBCDataStore does not cache the feature type metadata at 
all. This is bad since the metadata is not going to change in the very short 
range of time, and scanning jdbc metadata all time is expensive.
JDBCDataStore does cache the feature types and the type names, but not in a 
controllable way (the type name cache I added by accident, but it gives a very 
nice boost up to performance).
The base class should imho perform the caching, and allow the client to 
forcefully reset the caches. A time based expire would be a nice extra, thought 
with an explicit reset that can be emulated by the client as well.

-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to