[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Use of DownloadStatus class?


This is used today for sorting mirrors according to transfer rate. See MirrorSelector#reportResult.

John




Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

03/09/2009 05:23 PM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc
Subject
[p2-dev] Use of DownloadStatus class?





In the ECF Transport classes an instance of DownloadStatus is created  
and set on an OutputStream that also imlements IStateful.
The DownloadStatus calculates the download speed, but I can not find  
any code that makes use of this information.

The merged implementation will instead report proper progress  
(including scaling) on the monitor.
The status on an IStateful OutputStream will be set when transfer is  
finished and use a regular Status object.

Is the DownloadStatus used anywhere in some branch? Or is it ok to get  
rid of it?

Henrik Lindberg
henrik.lindberg@xxxxxxxxxxxxxx

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev