On Tue, Mar 6, 2012 at 5:03 AM, Michael Bedward
<[email protected]>wrote:
> Hi Andrea and all,
>
> As I understand it, StreamingRenderer submits a drawing task for each
> feature being drawn to an ExecutorService which, if not provided by
> the client, will be a single thread executor. Is it possible for
> drawing tasks to still be running when the renderer's paint method
> returns ?
>
> Looking at the code, I see an instance of EndRequest being submitted
> to the executor, followed by a call to the Future's get() method. I
> _think_ this means that all drawing should be complete when the paint
> method returns - but is that correct ?
>
The intention is indeed to have all rendering be complete once the paint
method is complete.
Is that correct... it was mant to be, wondering if the commands are
being executed out of order though... they should not be, but I may
be wrong here. The two threads are connected via a queue, so they
should actually be processing the various commands in order.
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users