Class StartStopRulesDefaultPlugin.TotalsStats
- java.lang.Object
-
- com.biglybt.plugin.startstoprules.defaultplugin.StartStopRulesDefaultPlugin.TotalsStats
-
- Enclosing class:
- StartStopRulesDefaultPlugin
private class StartStopRulesDefaultPlugin.TotalsStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
activelyCDing
(package private) int
activelyDLing
(package private) boolean
bOkToStartSeeding
Indicate whether it's ok to start seeding.(package private) int
complete
(package private) int
downloading
(package private) int
firstPriority
(package private) int
forcedActive
(package private) int
forcedSeeding
(package private) int
forcedSeedingNonFP
(package private) int
incompleteQueued
(package private) int
maxActive
(package private) int
maxSeeders
(package private) int
maxTorrents
(package private) int
stalledFPSeeders
(package private) int
stalledSeeders
(package private) boolean
upLimitProhibitsNewSeeds
(package private) int
waitingToDL
(package private) int
waitingToSeed
-
Constructor Summary
Constructors Constructor Description TotalsStats(DefaultRankCalculator[] dlDataArray)
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
maxUploadSpeed()
-
-
-
Field Detail
-
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 bOkToStartSeeding
Indicate 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 Detail
-
TotalsStats
public TotalsStats(DefaultRankCalculator[] dlDataArray)
Default Constructor- Parameters:
dlDataArray
- list of download data (rank calculators) objects to base calculations on.
-
-