Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1099) Layer getResource() slows startup

Layer getResource() slows startup
---------------------------------

                 Key: UDIG-1099
                 URL: http://jira.codehaus.org/browse/UDIG-1099
             Project: uDIG
          Issue Type: Improvement
          Components: layer
    Affects Versions: UDIG 1.1.RC5
            Reporter: Jody Garnett
         Assigned To: Jesse Eichar


Setting a breakpoint on ServiceExtension.createService( URL, Map ) will be called more then once!
1) Once for catalog load
2) Once for Render - using layer.getResource() !
3) Once for Layer Decorator - using layer.getResource() !

By actually checking the catalog (to see if the resource is already available) we will reduce startup time; and respect the cache of heavyweight  DataStores like Postgis that maintain their own connection pool.

Note: reopening the map will in fact make use of the same service.

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

        


Back to the top