[mapguide-users] Re: MaestroAPI: GetRuntimeMap takes a long time to return the RuntimeMap

Jackie Ng jumpinjackie at gmail.com
Fri Nov 19 10:26:08 EST 2010


Are you using the http or local implementation of ServerConnectionI?
Shouldn't be much difference since the method implementation is the same for
both. 

Did you get the 1 second result by profiling the call to GetRuntimeMap()
(measure the time before and after the call, and get the difference)?

Perhaps only call GetRuntimeMap() once, and do whatever operations on that
map. Because GetRuntimeMap() would be returning the same map no matter how
many times you call it until you actually save the changes back. 

Even then the map you pass to SaveRuntimeMap() would be the same as any
subsequent map you get from future invocations of GetRuntimeMap()

- Jackie
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/MaestroAPI-GetRuntimeMap-takes-a-long-time-to-return-the-RuntimeMap-tp5755341p5755619.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list