com.aelitis.azureus.core.tag
Interface TagFeatureRateLimit

All Superinterfaces:
TagFeature
All Known Subinterfaces:
TagDownload, TagFeatureRunState, TagPeer
All Known Implementing Classes:
CategoryImpl, TagDownloadWithState

public interface TagFeatureRateLimit
extends TagFeature


Field Summary
static boolean AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY_DEFAULT
           
static int SR_ACTION_PAUSE
           
static int SR_ACTION_QUEUE
           
static int SR_ACTION_STOP
           
static int SR_AGGREGATE_ACTION_DEFAULT
           
static int SR_INDIVIDUAL_ACTION_DEFAULT
           
 
Fields inherited from interface com.aelitis.azureus.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
 int[][] getRecentHistory()
           
 int getTagAggregateShareRatio()
           
 int getTagCurrentDownloadRate()
           
 int getTagCurrentUploadRate()
           
 int getTagDownloadLimit()
           
 long[] getTagDownloadTotal()
           
 int getTagMaxAggregateShareRatio()
           
 int getTagMaxAggregateShareRatioAction()
           
 boolean getTagMaxAggregateShareRatioHasPriority()
           
 int getTagMaxShareRatio()
           
 int getTagMaxShareRatioAction()
           
 int getTagMinShareRatio()
           
 long[] getTagSessionDownloadTotal()
           
 long[] getTagSessionUploadTotal()
           
 int getTagUploadLimit()
           
 int getTagUploadPriority()
           
 long[] getTagUploadTotal()
           
 void resetTagSessionDownloadTotal()
           
 void resetTagSessionUploadTotal()
           
 void setRecentHistoryRetention(boolean enable)
           
 void setTagDownloadLimit(int bps)
           
 void setTagMaxAggregateShareRatio(int ratio_in_thousandths)
           
 void setTagMaxAggregateShareRatioAction(int action)
           
 void setTagMaxAggregateShareRatioHasPriority(boolean has_priority)
           
 void setTagMaxShareRatio(int ratio_in_thousandths)
           
 void setTagMaxShareRatioAction(int action)
           
 void setTagMinShareRatio(int ratio_in_thousandths)
           
 void setTagUploadLimit(int bps)
           
 void setTagUploadPriority(int priority)
           
 boolean supportsTagDownloadLimit()
           
 boolean supportsTagRates()
           
 boolean supportsTagUploadLimit()
           
 
Methods inherited from interface com.aelitis.azureus.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_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()

setTagUploadLimit

void setTagUploadLimit(int bps)

getTagCurrentUploadRate

int getTagCurrentUploadRate()

getTagDownloadLimit

int getTagDownloadLimit()

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)

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)