Interface DefaultRankCalculator

    • Field Detail

      • FIRSTPRIORITY_ALL

        static final int FIRSTPRIORITY_ALL
        All of the First Priority rules must match
        See Also:
        Constant Field Values
      • FIRSTPRIORITY_ANY

        static final int FIRSTPRIORITY_ANY
        Any of the First Priority rules must match
        See Also:
        Constant Field Values
      • DOWNLOAD_ORDER_REVERSE_SEED_COUNT

        static final int DOWNLOAD_ORDER_REVERSE_SEED_COUNT
        See Also:
        Constant Field Values
      • DOWNLOAD_ORDER_REVERSE_SIZE

        static final int DOWNLOAD_ORDER_REVERSE_SIZE
        See Also:
        Constant Field Values
      • SR_COMPLETE_STARTS_AT

        static final int SR_COMPLETE_STARTS_AT
        Rank that complete starts at (and incomplete ends at + 1)
        See Also:
        Constant Field Values
      • SR_TIMED_QUEUED_ENDS_AT

        static final int SR_TIMED_QUEUED_ENDS_AT
        Maximimum ranking for time queue mode. 1 unit is a second
        See Also:
        Constant Field Values
      • SR_IGNORED_LESS_THAN

        static final int SR_IGNORED_LESS_THAN
        Ranks below this value are for torrents to be ignored (moved to bottom & queued)
        See Also:
        Constant Field Values
      • SR_NOTQUEUED

        static final int SR_NOTQUEUED
        Seeding Rank value when download is marked as not queued
        See Also:
        Constant Field Values
      • SR_FP_SPRATIOMET

        static final int SR_FP_SPRATIOMET
        Seeding Rank value when download is marked as S:P Ratio Met for FP
        See Also:
        Constant Field Values
      • SR_RATIOMET

        static final int SR_RATIOMET
        Seeding Rank value when download is marked as P:1S Ratio Met
        See Also:
        Constant Field Values
      • SR_NUMSEEDSMET

        static final int SR_NUMSEEDSMET
        Seeding Rank value when download is marked as # Seeds Met
        See Also:
        Constant Field Values
      • SR_FP0PEERS

        static final int SR_FP0PEERS
        Seeding Rank value when download is marked as 0 Peers and FP
        See Also:
        Constant Field Values
      • SR_0PEERS

        static final int SR_0PEERS
        Seeding Rank value when download is marked as 0 Peers
        See Also:
        Constant Field Values
      • SR_SHARERATIOMET

        static final int SR_SHARERATIOMET
        Seeding Rank value when download is marked as Share Ratio Met
        See Also:
        Constant Field Values
      • SR_NEGATIVE_DEBUG

        static final java.lang.String[] SR_NEGATIVE_DEBUG
    • Method Detail

      • getState

        int getState()
      • getCoreState

        int getCoreState()
      • getName

        java.lang.String getName()
      • supportsPosition

        boolean supportsPosition()
      • getPosition

        int getPosition()
      • setPosition

        void setPosition​(int pos)
      • moveTo

        void moveTo​(int pos)
      • isForceActive

        boolean isForceActive()
      • isQueued

        boolean isQueued()
      • isDownloading

        boolean isDownloading()
      • isChecking

        boolean isChecking()
      • isMoving

        boolean isMoving()
      • isForceStart

        boolean isForceStart()
      • isComplete

        boolean isComplete()
      • isControllable

        boolean isControllable()
      • isFirstPriority

        boolean isFirstPriority()
      • getCachedIsFP

        boolean getCachedIsFP()
      • getSeedingRank

        int getSeedingRank()
      • getActivelySeeding

        boolean getActivelySeeding()
      • getActivelyDownloading

        boolean getActivelyDownloading()
      • getShareRatio

        int getShareRatio()
      • getUploadAverage

        long getUploadAverage()
      • getDownloadAverage

        long getDownloadAverage()
      • getTimeStarted

        long getTimeStarted()
      • getSizeExcludingDND

        long getSizeExcludingDND()
      • scrapeResultOk

        boolean scrapeResultOk()
      • calcSeedsNoUs

        int calcSeedsNoUs()
      • changeChecker

        boolean changeChecker()
      • recalcSeedingRank

        void recalcSeedingRank()
      • getLightSeedEligibility

        long getLightSeedEligibility()
      • updateLightSeedEligibility

        boolean updateLightSeedEligibility​(boolean b)
      • activationRequest

        boolean activationRequest()
      • getLastScrapeResultOk

        boolean getLastScrapeResultOk()
      • getLastModifiedScrapeResultPeers

        int getLastModifiedScrapeResultPeers()
      • getLastModifiedScrapeResultSeeds

        int getLastModifiedScrapeResultSeeds()
      • setDLRInactive

        void setDLRInactive()
      • setDLRActive

        void setDLRActive​(long time)
      • setDLRComplete

        void setDLRComplete​(long time)
      • getDLRLastTestTime

        long getDLRLastTestTime()
      • getDLRLastTestSpeed

        int getDLRLastTestSpeed()
      • getDLRLastTestETA

        long getDLRLastTestETA()
      • getDLRTrace

        java.lang.String getDLRTrace()
      • getExplainFP

        java.lang.String getExplainFP()
      • getExplainSR

        java.lang.String getExplainSR()
      • resetTrace

        void resetTrace()
      • appendTrace

        void appendTrace​(java.lang.String str)
      • getTrace

        java.lang.String getTrace()
      • getRelatedTo

        java.lang.Object getRelatedTo()
      • destroy

        void destroy()