|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RateCalculator
An interface to an object that helps calculate rates.
| Method Summary | |
|---|---|
void |
addData(RangeDownloader downloader)
Adds data for the given downloader. |
long |
getBytesRead()
Accessor for the total number of bytes read. |
double |
getRate()
Returns the rate since a given time. |
| Method Detail |
|---|
double getRate()
void addData(RangeDownloader downloader)
downloader - The downloader to add data for.long getBytesRead()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||