public final class InboundTrafficController extends AtomicInteger
| Modifier and Type | Method and Description |
|---|---|
void |
dec(int numConsumedBytes) |
static InboundTrafficController |
disabled() |
void |
inc(int numProducedBytes) |
static int |
numDeferredReads() |
static InboundTrafficController |
ofHttp1(io.netty.channel.Channel channel) |
static InboundTrafficController |
ofHttp2(io.netty.channel.Channel channel,
int connectionWindowSize) |
String |
toString() |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, updateAndGet, weakCompareAndSetbyteValue, shortValuepublic static int numDeferredReads()
public static InboundTrafficController ofHttp1(io.netty.channel.Channel channel)
public static InboundTrafficController ofHttp2(io.netty.channel.Channel channel, int connectionWindowSize)
public static InboundTrafficController disabled()
public void inc(int numProducedBytes)
public void dec(int numConsumedBytes)
public String toString()
toString in class AtomicIntegerCopyright © 2020 LeanCloud. All rights reserved.