com.limegroup.gnutella.settings
Class UploadSettings

java.lang.Object
  extended bycom.limegroup.gnutella.settings.AbstractSettings
      extended bycom.limegroup.gnutella.settings.LimeProps
          extended bycom.limegroup.gnutella.settings.UploadSettings

public final class UploadSettings
extends LimeProps

Settings for uploads.


Field Summary
static BooleanSetting ALLOW_PARTIAL_SHARING
          Setting for whether or not to allow partial files to be shared.
static IntSetting MAX_UPLOAD_BYTES_PER_SEC
          The maximum number of upstream bytes per second ever passed by this node.
static IntSetting MAX_UPLOADS
          The maximum number of simultaneous uploads to allow.
static IntSetting SOFT_MAX_UPLOADS
          The "soft" maximum number of simultaneous uploads to allow, i.e., the minimum number of people to allow before determining whether to allow more uploads.
static IntSetting UPLOAD_QUEUE_SIZE
          Setting for the size of the upload queue.
static IntSetting UPLOAD_SPEED
          Setting for the number of kilobytes/second to allow for all uploads.
static IntSetting UPLOADS_PER_PERSON
          Setting for the amount of uploads per person.
 
Fields inherited from class com.limegroup.gnutella.settings.LimeProps
FACTORY
 
Methods inherited from class com.limegroup.gnutella.settings.LimeProps
instance
 
Methods inherited from class com.limegroup.gnutella.settings.AbstractSettings
getFactory, getProperties, getPropertiesFile, getShouldSave, reload, revertToDefault, save, setShouldSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPLOAD_SPEED

public static final IntSetting UPLOAD_SPEED
Setting for the number of kilobytes/second to allow for all uploads.


UPLOAD_QUEUE_SIZE

public static final IntSetting UPLOAD_QUEUE_SIZE
Setting for the size of the upload queue.


UPLOADS_PER_PERSON

public static final IntSetting UPLOADS_PER_PERSON
Setting for the amount of uploads per person.


ALLOW_PARTIAL_SHARING

public static final BooleanSetting ALLOW_PARTIAL_SHARING
Setting for whether or not to allow partial files to be shared.


MAX_UPLOAD_BYTES_PER_SEC

public static final IntSetting MAX_UPLOAD_BYTES_PER_SEC
The maximum number of upstream bytes per second ever passed by this node.


MAX_UPLOADS

public static final IntSetting MAX_UPLOADS
The maximum number of simultaneous uploads to allow.


SOFT_MAX_UPLOADS

public static final IntSetting SOFT_MAX_UPLOADS
The "soft" maximum number of simultaneous uploads to allow, i.e., the minimum number of people to allow before determining whether to allow more uploads.