public static class StreamManager.StreamRateLimiter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
BYTES_PER_MEGABIT |
Constructor and Description |
---|
StreamRateLimiter(InetAddressAndPort 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 StreamRateLimiter(InetAddressAndPort peer)
public void acquire(int toTransfer)
public static void updateThroughput()
public static void updateInterDCThroughput()
public static double getRateLimiterRateInBytes()
public static double getInterDCRateLimiterRateInBytes()
Copyright © 2009- The Apache Software Foundation