forked from I2P_Developers/i2p.i2p
@@ -973,19 +973,26 @@ public class Router implements RouterClock.ClockShiftListener {
|
||||
@Deprecated
|
||||
public static final char CAPABILITY_NEW_TUNNEL = 'T';
|
||||
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_K = 0;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_L = 12;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_M = 48;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_N = 64;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_O = 128;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_P = 256;
|
||||
/** @since 0.9.33 */
|
||||
/** In binary (1024) Kbytes
|
||||
* @since 0.9.33 */
|
||||
public static final int MIN_BW_X = 2000;
|
||||
|
||||
/**
|
||||
|
||||
@@ -133,16 +133,28 @@ public class FIFOBandwidthLimiter {
|
||||
/** @return smoothed 15 second rate */
|
||||
public float getReceiveBps15s() { return _recvBps15s; }
|
||||
|
||||
/** The configured maximum, not the current rate */
|
||||
/**
|
||||
* The configured maximum, not the current rate.
|
||||
* In binary K, i.e. rate / 1024.
|
||||
*/
|
||||
public int getOutboundKBytesPerSecond() { return _refiller.getOutboundKBytesPerSecond(); }
|
||||
|
||||
/** The configured maximum, not the current rate */
|
||||
/**
|
||||
* The configured maximum, not the current rate.
|
||||
* In binary K, i.e. rate / 1024.
|
||||
*/
|
||||
public int getInboundKBytesPerSecond() { return _refiller.getInboundKBytesPerSecond(); }
|
||||
|
||||
/** The configured maximum, not the current rate */
|
||||
/**
|
||||
* The configured maximum, not the current rate.
|
||||
* In binary K, i.e. rate / 1024.
|
||||
*/
|
||||
public int getOutboundBurstKBytesPerSecond() { return _refiller.getOutboundBurstKBytesPerSecond(); }
|
||||
|
||||
/** The configured maximum, not the current rate */
|
||||
/**
|
||||
* The configured maximum, not the current rate.
|
||||
* In binary K, i.e. rate / 1024.
|
||||
*/
|
||||
public int getInboundBurstKBytesPerSecond() { return _refiller.getInboundBurstKBytesPerSecond(); }
|
||||
|
||||
public synchronized void reinitialize() {
|
||||
|
||||
Reference in New Issue
Block a user