软件包 | 描述 |
---|---|
io.netty.handler.traffic |
流量整形处理器和动态统计的实现。
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalChannelTrafficCounter
|
Modifier and Type | Field and Description |
---|---|
protected TrafficCounter |
AbstractTrafficShapingHandler.trafficCounter
流量计数器
|
Modifier and Type | Method and Description |
---|---|
TrafficCounter |
AbstractTrafficShapingHandler.trafficCounter() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TrafficCounter> |
GlobalChannelTrafficShapingHandler.channelTrafficCounters()
例如,允许doAccounting使用每个频道的TrafficCounter。
|
Modifier and Type | Method and Description |
---|---|
protected void |
GlobalChannelTrafficShapingHandler.doAccounting(TrafficCounter counter) |
protected void |
AbstractTrafficShapingHandler.doAccounting(TrafficCounter counter)
每次从TrafficCounters计算会计时调用。
|
Copyright © 2008–2018 The Netty Project. All rights reserved.