Package com.biglybt.core.download
Class DownloadManagerEnhancer
java.lang.Object
com.biglybt.core.download.DownloadManagerEnhancer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Core
(package private) Map
<DownloadManager, EnhancedDownloadManager> (package private) TimerEventPeriodic
private Set
<HashWrapper> (package private) long
private boolean
private static DownloadManagerEnhancer
private static TagManager
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnhancedDownload
(byte[] hash) getEnhancedDownload
(DownloadManager manager) static DownloadManagerEnhancer
static DownloadManagerEnhancer
initialise
(Core core) boolean
protected void
pause
(DownloadManager dm) protected void
prepareForProgressiveMode
(DownloadManager dm, boolean active) protected void
protected void
resume()
protected void
-
Field Details
-
TICK_PERIOD
public static final int TICK_PERIOD- See Also:
-
tag_manager
-
singleton
-
core
Core core -
download_map
Map<DownloadManager,EnhancedDownloadManager> download_map -
pause_set
-
progressive_enabled
private boolean progressive_enabled -
progressive_active_counter
long progressive_active_counter -
pa_timer
TimerEventPeriodic pa_timer
-
-
Constructor Details
-
DownloadManagerEnhancer
-
-
Method Details
-
initialise
-
getSingleton
-
progressiveActivated
protected void progressiveActivated() -
pause
-
resume
-
resume
protected void resume() -
prepareForProgressiveMode
-
getEnhancedDownload
-
getEnhancedDownload
-
isProgressiveAvailable
public boolean isProgressiveAvailable()
-