Class StartStopRulesDefaultPlugin.TotalsStats

java.lang.Object
com.biglybt.plugin.startstoprules.defaultplugin.StartStopRulesDefaultPlugin.TotalsStats
Enclosing class:
StartStopRulesDefaultPlugin

private class StartStopRulesDefaultPlugin.TotalsStats extends Object
  • 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 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.

    • maxSeeders

      int maxSeeders
    • maxActive

      int maxActive
    • maxTorrents

      int maxTorrents
    • upLimitProhibitsNewSeeds

      boolean upLimitProhibitsNewSeeds
  • Constructor Details

    • TotalsStats

      public TotalsStats(DefaultRankCalculator[] dlDataArray)
      Default Constructor
      Parameters:
      dlDataArray - list of download data (rank calculators) objects to base calculations on.
  • Method Details

    • maxUploadSpeed

      public int maxUploadSpeed()