Package com.biglybt.core.tag
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 Summary
Fields Modifier and Type Field Description static boolean
AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY_DEFAULT
static int
SR_ACTION_ARCHIVE
static int
SR_ACTION_PAUSE
static int
SR_ACTION_QUEUE
static int
SR_ACTION_REMOVE_FROM_COMPUTER
static int
SR_ACTION_REMOVE_FROM_LIBRARY
static int
SR_ACTION_STOP
static int
SR_AGGREGATE_ACTION_DEFAULT
static int
SR_INDIVIDUAL_ACTION_DEFAULT
-
Fields inherited from interface com.biglybt.core.tag.TagFeature
TF_EXEC_ON_ASSIGN, TF_FILE_LOCATION, TF_LIMITS, TF_NONE, TF_NOTIFICATIONS, TF_PROPERTIES, TF_RATE_LIMIT, TF_RSS_FEED, TF_RUN_STATE, TF_XCODE
-
-
Method Summary
-
Methods inherited from interface com.biglybt.core.tag.TagFeature
getTag
-
-
-
-
Field Detail
-
SR_ACTION_QUEUE
static final int SR_ACTION_QUEUE
- See Also:
- Constant Field Values
-
SR_ACTION_PAUSE
static final int SR_ACTION_PAUSE
- See Also:
- Constant Field Values
-
SR_ACTION_STOP
static final int SR_ACTION_STOP
- See Also:
- Constant Field Values
-
SR_ACTION_ARCHIVE
static final int SR_ACTION_ARCHIVE
- See Also:
- Constant Field Values
-
SR_ACTION_REMOVE_FROM_LIBRARY
static final int SR_ACTION_REMOVE_FROM_LIBRARY
- See Also:
- Constant Field Values
-
SR_ACTION_REMOVE_FROM_COMPUTER
static final int SR_ACTION_REMOVE_FROM_COMPUTER
- See Also:
- Constant Field Values
-
SR_INDIVIDUAL_ACTION_DEFAULT
static final int SR_INDIVIDUAL_ACTION_DEFAULT
- See Also:
- Constant Field Values
-
SR_AGGREGATE_ACTION_DEFAULT
static final int SR_AGGREGATE_ACTION_DEFAULT
- See Also:
- Constant Field Values
-
AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY_DEFAULT
static final boolean AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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)
-
getMaxActiveDownloads
int getMaxActiveDownloads()
-
setMaxActiveDownloads
void setMaxActiveDownloads(int max)
-
-