https://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&action=history&feed=atomDownload Queue - Revision history2024-03-29T07:58:20ZRevision history for this page on the wikiMediaWiki 1.9.0https://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&diff=15296&oldid=prevMashiharu: /* Suggestion */2005-06-27T23:32:51Z<p><span class="autocomment">Suggestion</span></p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:32, 27 June 2005</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 13:</strong></td>
<td colspan="2" align="left"><strong>Line 13:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. Downloads with score = float.MinValue will be removed. </td><td> </td><td style="background: #eee; font-size: smaller;">When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. Downloads with score = float.MinValue will be removed. </td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td>-</td><td style="background: #ffa; font-size: smaller;">In [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/<span style="color: red; font-weight: bold;">WebDownload</span>/<span style="color: red; font-weight: bold;">QuadTile</span>.cs <span style="color: red; font-weight: bold;">GeoSpatialDownloadRequest</span>] <span style="color: red; font-weight: bold;">(bottom) </span>the score equals the relative amount of screen area (pixels) the tile occupies. This prioritizes tiles that will have a big visual impact.</td><td>+</td><td style="background: #cfc; font-size: smaller;">In [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/<span style="color: red; font-weight: bold;">PluginSDK</span>/<span style="color: red; font-weight: bold;">ImageTileRequest</span>.cs <span style="color: red; font-weight: bold;">ImageTileRequest</span>] the score equals the relative amount of screen area (pixels) the tile occupies. This prioritizes tiles that will have a big visual impact.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td></tr>
</table>Mashiharuhttps://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&diff=7838&oldid=prev80.202.208.86: /* Suggestion */2005-06-27T22:34:16Z<p><span class="autocomment">Suggestion</span></p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 22:34, 27 June 2005</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 9:</strong></td>
<td colspan="2" align="left"><strong>Line 9:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">==Suggestion==</td><td> </td><td style="background: #eee; font-size: smaller;">==Suggestion==</td></tr>
<tr><td>-</td><td style="background: #ffa; font-size: smaller;">[http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/DownloadQueue.cs DownloadQueue] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/WebDownload.cs WebDownload] when a download has been completed. <span style="color: red; font-weight: bold;"> </span>When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. </td><td>+</td><td style="background: #cfc; font-size: smaller;">[http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/DownloadQueue.cs DownloadQueue] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/WebDownload.cs WebDownload] when a download has been completed. </td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"> </td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;">When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. <span style="color: red; font-weight: bold;">Downloads with score = float.MinValue will be removed. </span></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">In [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/QuadTile.cs GeoSpatialDownloadRequest] (bottom) the score equals the relative amount of screen area (pixels) the tile occupies. This prioritizes tiles that will have a big visual impact.</td><td> </td><td style="background: #eee; font-size: smaller;">In [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/QuadTile.cs GeoSpatialDownloadRequest] (bottom) the score equals the relative amount of screen area (pixels) the tile occupies. This prioritizes tiles that will have a big visual impact.</td></tr>
</table>80.202.208.86https://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&diff=7837&oldid=prevMashiharu: /* Class diagram */2005-06-25T14:15:59Z<p><span class="autocomment">Class diagram</span></p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 14:15, 25 June 2005</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 8:</strong></td>
<td colspan="2" align="left"><strong>Line 8:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:DownloadQueue.png]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:DownloadQueue.png]]</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;">==Suggestion==</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/DownloadQueue.cs DownloadQueue] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/WebDownload.cs WebDownload] when a download has been completed. When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. </td><td> </td><td style="background: #eee; font-size: smaller;">[http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/DownloadQueue.cs DownloadQueue] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/WebDownload.cs WebDownload] when a download has been completed. When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. </td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td>+</td><td style="background: #cfc; font-size: smaller;">In [http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/QuadTile.cs GeoSpatialDownloadRequest] (bottom) the score equals the relative amount of screen area (pixels) the tile occupies. This prioritizes tiles that will have a big visual impact.</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td></tr>
</table>Mashiharuhttps://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&diff=7820&oldid=prevMashiharu: /* Class diagram */2005-06-25T14:07:29Z<p><span class="autocomment">Class diagram</span></p>
<table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;">
<tr>
<td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td>
<td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 14:07, 25 June 2005</td>
</tr>
<tr><td colspan="2" align="left"><strong>Line 8:</strong></td>
<td colspan="2" align="left"><strong>Line 8:</strong></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Image:DownloadQueue.png]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Image:DownloadQueue.png]]</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td>-</td><td style="background: #ffa; font-size: smaller;">[<span style="color: red; font-weight: bold;">[</span>DownloadQueue<span style="color: red; font-weight: bold;">]</span>] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from WebDownload when a download has been completed. When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. </td><td>+</td><td style="background: #cfc; font-size: smaller;">[<span style="color: red; font-weight: bold;">http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/WebDownload/DownloadQueue.cs </span>DownloadQueue] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from <span style="color: red; font-weight: bold;">[http://cvs.sourceforge.net/viewcvs.py/nasa-exp/WorldWind/</span>WebDownload<span style="color: red; font-weight: bold;">/WebDownload.cs WebDownload] </span>when a download has been completed. When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. </td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td><td> </td><td style="background: #eee; font-size: smaller;">It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?</td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr>
<tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Dev]]</td></tr>
</table>Mashiharuhttps://www.worldwindcentral.com/wiki/index.php?title=Download_Queue&diff=7819&oldid=prevMashiharu at 13:55, 25 June 20052005-06-25T13:55:10Z<p></p>
<p><b>New page</b></p><div>World Wind has had no common download queue. Quad tile sets have had one queue each, terrain tiles had no queue at all and was blocking the update thread. <br />
<br />
See: <br />
*[http://issues.worldwind.arc.nasa.gov/browse/WW-248 Download terrain asynchronously to avoid UI updates stopping].<br />
<br />
==Class diagram==<br />
<br />
[[Image:DownloadQueue.png]]<br />
<br />
[[DownloadQueue]] is globally accessible and keeps track of active downloads and queued items. It doesn't run on it's own thread but starts downloads on the thread calling the Add/Remove methods, and also on the callback from WebDownload when a download has been completed. When initiating a download the DownloadQueue will loop through all requests and find the one with the highest score and download that. <br />
<br />
It would probably be nice to have other factors influcence the decisions too, like perhaps how many downloads are currently in progress from a certain server?<br />
<br />
[[Category:Dev]]</div>Mashiharu