| |
|
| org.netbeans.installer.downloader.Pumping
All known Subclasses: org.netbeans.installer.downloader.impl.PumpingImpl,
Pumping | public interface Pumping (Code) | | author: Danila_Dugurov |
Inner Class :public static interface Section | |
Inner Class :public enum State | |
declaredURL | URL declaredURL()(Code) | | declared pumping url. |
getId | String getId()(Code) | | It's runtime property of pumping. It means that it's not persistence
property. So if downloader client maintain it's state persistance - it
mustn't base on pumpings ids.
|
getSections | Section[] getSections()(Code) | | one section - one thread. Section - data structure for representation and
manage downloading unit
|
mode | DownloadMode mode()(Code) | | mode in which downloader process it. So if Single thread mode - it'smeans that only one thread process pumping(so one section invoked). If multithread mode - it's means that downloader allowed to process pumping in morethen one thread concurrently. But it's not means that downloader do it.The issue process or not in multy thread deal with some external issues:for example domain police and server side speed reducing for client who try to obtain more then one connection at time. Base implementation in any casedownload in one thread. |
outputFile | File outputFile()(Code) | | file corresponding to this pumping. |
realURL | URL realURL()(Code) | | real pumping url. It is url which was obtain at runtime. It's may be the same as declared url if no redirect may occur. |
|
|
|