| Package | Description |
|---|---|
| com.echomine.net |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleTransferRateThrottler
This transfer rate throttler simply throttles the rate by checking to see if the rate is above the rate limit, and if it
is, sleep occurs so that the rate is decreased (since rate is calculated as data transferred over a period of time).
|
| Modifier and Type | Method and Description |
|---|---|
TransferRateThrottler |
FileModel.getThrottler() |
TransferRateThrottler |
FileHandler.getTransferRateThrottler() |
TransferRateThrottler |
AbstractFileHandler.getTransferRateThrottler() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileModel.setThrottler(TransferRateThrottler throttler)
sets the transfer rate throttler to use for throttling the transfer rate
|
void |
AbstractFileHandler.setTransferRateThrottler(TransferRateThrottler throttler)
sets the transfer rate throttler.
|
| Constructor and Description |
|---|
FileModel(java.lang.String filename,
java.lang.String saveLocation,
long resumeOffset,
TransferRateThrottler throttler) |
Copyright © 2001-2005 Echomine. All Rights Reserved.