net.i2p.router.transport
Class FIFOBandwidthRefiller
java.lang.Object
net.i2p.router.transport.FIFOBandwidthRefiller
- All Implemented Interfaces:
- java.lang.Runnable
class FIFOBandwidthRefiller
- extends java.lang.Object
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_INBOUND_BANDWIDTH
public static final java.lang.String PROP_INBOUND_BANDWIDTH
- See Also:
- Constant Field Values
PROP_OUTBOUND_BANDWIDTH
public static final java.lang.String PROP_OUTBOUND_BANDWIDTH
- See Also:
- Constant Field Values
PROP_INBOUND_BURST_BANDWIDTH
public static final java.lang.String PROP_INBOUND_BURST_BANDWIDTH
- See Also:
- Constant Field Values
PROP_OUTBOUND_BURST_BANDWIDTH
public static final java.lang.String PROP_OUTBOUND_BURST_BANDWIDTH
- See Also:
- Constant Field Values
PROP_INBOUND_BANDWIDTH_PEAK
public static final java.lang.String PROP_INBOUND_BANDWIDTH_PEAK
- See Also:
- Constant Field Values
PROP_OUTBOUND_BANDWIDTH_PEAK
public static final java.lang.String PROP_OUTBOUND_BANDWIDTH_PEAK
- See Also:
- Constant Field Values
DEFAULT_INBOUND_BANDWIDTH
public static final int DEFAULT_INBOUND_BANDWIDTH
- See Also:
- Constant Field Values
DEFAULT_OUTBOUND_BANDWIDTH
public static final int DEFAULT_OUTBOUND_BANDWIDTH
- See Also:
- Constant Field Values
DEFAULT_INBOUND_BURST_BANDWIDTH
public static final int DEFAULT_INBOUND_BURST_BANDWIDTH
- See Also:
- Constant Field Values
DEFAULT_OUTBOUND_BURST_BANDWIDTH
public static final int DEFAULT_OUTBOUND_BURST_BANDWIDTH
- See Also:
- Constant Field Values
DEFAULT_BURST_SECONDS
public static final int DEFAULT_BURST_SECONDS
- See Also:
- Constant Field Values
MIN_INBOUND_BANDWIDTH
public static final int MIN_INBOUND_BANDWIDTH
- For now, until there is some tuning and safe throttling, we set the floor at 3KBps inbound
- See Also:
- Constant Field Values
MIN_OUTBOUND_BANDWIDTH
public static final int MIN_OUTBOUND_BANDWIDTH
- For now, until there is some tuning and safe throttling, we set the floor at 3KBps outbound
- See Also:
- Constant Field Values
MIN_INBOUND_BANDWIDTH_PEAK
public static final int MIN_INBOUND_BANDWIDTH_PEAK
- For now, until there is some tuning and safe throttling, we set the floor at a 3KBps during burst
- See Also:
- Constant Field Values
MIN_OUTBOUND_BANDWIDTH_PEAK
public static final int MIN_OUTBOUND_BANDWIDTH_PEAK
- For now, until there is some tuning and safe throttling, we set the floor at a 3KBps during burst
- See Also:
- Constant Field Values
FIFOBandwidthRefiller
public FIFOBandwidthRefiller(I2PAppContext context,
FIFOBandwidthLimiter limiter)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
reinitialize
public void reinitialize()
getOutboundKBytesPerSecond
int getOutboundKBytesPerSecond()
getInboundKBytesPerSecond
int getInboundKBytesPerSecond()