public static class StreamManager.StreamRateLimiter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
BYTES_PER_MEGABIT |
| Constructor and Description |
|---|
StreamRateLimiter(java.net.InetAddress peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire(int toTransfer) |
static double |
getInterDCRateLimiterRateInBytes() |
static double |
getRateLimiterRateInBytes() |
static void |
updateInterDCThroughput() |
static void |
updateThroughput() |
public static final double BYTES_PER_MEGABIT
public void acquire(int toTransfer)
public static void updateThroughput()
public static void updateInterDCThroughput()
public static double getRateLimiterRateInBytes()
public static double getInterDCRateLimiterRateInBytes()
Copyright © 2009-2022 The Apache Software Foundation