Interface TagFeatureRateLimit

All Superinterfaces:
TagFeature
All Known Subinterfaces:
TagDownload, TagFeatureRunState, TagPeer
All Known Implementing Classes:
CategoryImpl, GlobalManagerImpl.DownloadStateTagger.MyTag, SpeedLimitHandler.PeerSet.TagPeerImpl, TagDownloadWithState

public interface TagFeatureRateLimit extends TagFeature
  • Field Details

  • Method Details

    • supportsTagRates

      boolean supportsTagRates()
    • supportsTagUploadLimit

      boolean supportsTagUploadLimit()
    • supportsTagDownloadLimit

      boolean supportsTagDownloadLimit()
    • getTagUploadLimit

      int getTagUploadLimit()
      Returns:
      Max Upload Speed in bytes/sec
    • setTagUploadLimit

      void setTagUploadLimit(int bps)
    • getTagCurrentUploadRate

      int getTagCurrentUploadRate()
    • getTagDownloadLimit

      int getTagDownloadLimit()
      Returns:
      Max Download Speed in bytes/sec
    • setTagDownloadLimit

      void setTagDownloadLimit(int bps)
    • getTagCurrentDownloadRate

      int getTagCurrentDownloadRate()
    • getTagSessionUploadTotal

      long[] getTagSessionUploadTotal()
    • resetTagSessionUploadTotal

      void resetTagSessionUploadTotal()
    • getTagSessionDownloadTotal

      long[] getTagSessionDownloadTotal()
    • resetTagSessionDownloadTotal

      void resetTagSessionDownloadTotal()
    • getTagUploadTotal

      long[] getTagUploadTotal()
    • getTagDownloadTotal

      long[] getTagDownloadTotal()
    • setRecentHistoryRetention

      void setRecentHistoryRetention(boolean enable)
    • getRecentHistory

      int[][] getRecentHistory()
    • getTagUploadPriority

      int getTagUploadPriority()
    • setTagUploadPriority

      void setTagUploadPriority(int priority)
    • getTagBoost

      boolean getTagBoost()
    • setTagBoost

      void setTagBoost(boolean boost)
    • getTagMinShareRatio

      int getTagMinShareRatio()
    • setTagMinShareRatio

      void setTagMinShareRatio(int ratio_in_thousandths)
    • getTagMaxShareRatio

      int getTagMaxShareRatio()
    • setTagMaxShareRatio

      void setTagMaxShareRatio(int ratio_in_thousandths)
    • getTagMaxShareRatioAction

      int getTagMaxShareRatioAction()
    • setTagMaxShareRatioAction

      void setTagMaxShareRatioAction(int action)
    • getTagAggregateShareRatio

      int getTagAggregateShareRatio()
    • getTagMaxAggregateShareRatio

      int getTagMaxAggregateShareRatio()
    • setTagMaxAggregateShareRatio

      void setTagMaxAggregateShareRatio(int ratio_in_thousandths)
    • getTagMaxAggregateShareRatioAction

      int getTagMaxAggregateShareRatioAction()
    • setTagMaxAggregateShareRatioAction

      void setTagMaxAggregateShareRatioAction(int action)
    • getTagMaxAggregateShareRatioHasPriority

      boolean getTagMaxAggregateShareRatioHasPriority()
    • setTagMaxAggregateShareRatioHasPriority

      void setTagMaxAggregateShareRatioHasPriority(boolean has_priority)
    • getFirstPrioritySeeding

      boolean getFirstPrioritySeeding()
    • setFirstPrioritySeeding

      void setFirstPrioritySeeding(boolean has_priority)
    • getNotFirstPrioritySeeding

      boolean getNotFirstPrioritySeeding()
    • setNotFirstPrioritySeeding

      void setNotFirstPrioritySeeding(boolean has_not_priority)
    • getMaxActiveDownloads

      int getMaxActiveDownloads()
    • setMaxActiveDownloads

      void setMaxActiveDownloads(int max)
    • getMaxActiveSeeds

      int getMaxActiveSeeds()
    • setMaxActiveSeeds

      void setMaxActiveSeeds(int max)
    • getStrictActivityLimits

      boolean getStrictActivityLimits()
    • setStrictActivityLimits

      void setStrictActivityLimits(boolean b)