Class StartStopRulesDefaultPlugin.TotalsStats
java.lang.Object
com.biglybt.plugin.startstoprules.defaultplugin.StartStopRulesDefaultPlugin.TotalsStats
- Enclosing class:
StartStopRulesDefaultPlugin
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
(package private) int
(package private) boolean
Indicate whether it's ok to start seeding.(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) int
(package private) boolean
(package private) int
(package private) int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
forcedSeeding
int forcedSeeding -
forcedSeedingNonFP
int forcedSeedingNonFP -
waitingToSeed
int waitingToSeed -
waitingToDL
int waitingToDL -
downloading
int downloading -
activelyDLing
int activelyDLing -
activelyCDing
int activelyCDing -
complete
int complete -
incompleteQueued
int incompleteQueued -
firstPriority
int firstPriority -
stalledSeeders
int stalledSeeders -
stalledFPSeeders
int stalledFPSeeders -
forcedActive
int forcedActive -
bOkToStartSeeding
boolean bOkToStartSeedingIndicate whether it's ok to start seeding.Seeding can start right away when there's no auto-ranking or we are on timed ranking. Otherwise, we wait until one of the following happens:
- Any non-stopped/errored torrent gets a scrape result AND it's after
StartStopRulesDefaultPlugin.MIN_SEEDING_STARTUP_WAIT
- All scrape results come in for completed, non-stopped/errored torrent
- Any completed non-stopped/errored torrent is FP
- Any torrent has 0 seeds (which, in most cases means it's the highest rank)
If none of the above happen, then after
StartStopRulesDefaultPlugin.MIN_FIRST_SCRAPE_WAIT
, the flag will turned on. - Any non-stopped/errored torrent gets a scrape result AND it's after
-
maxSeeders
int maxSeeders -
maxActive
int maxActive -
maxTorrents
int maxTorrents -
upLimitProhibitsNewSeeds
boolean upLimitProhibitsNewSeeds
-
-
Constructor Details
-
TotalsStats
Default Constructor- Parameters:
dlDataArray
- list of download data (rank calculators) objects to base calculations on.
-
-
Method Details
-
maxUploadSpeed
public int maxUploadSpeed()
-