
public class FtpChannelTrafficShapingHandler
extends io.netty.handler.traffic.ChannelTrafficShapingHandler
| Constructor and Description |
|---|
FtpChannelTrafficShapingHandler(long checkInterval) |
FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit) |
FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit,
long checkInterval) |
FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit,
long checkInterval,
long maxTime) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
calculateSize(Object msg) |
handlerAdded, handlerRemoved, queueSizechannelRead, channelRegistered, configure, configure, configure, doAccounting, getCheckInterval, getMaxTimeWait, getMaxWriteDelay, getMaxWriteSize, getReadLimit, getWriteLimit, isHandlerActive, read, setCheckInterval, setMaxTimeWait, setMaxWriteDelay, setMaxWriteSize, setReadLimit, setWriteLimit, submitWrite, toString, trafficCounter, userDefinedWritabilityIndex, writebind, close, connect, deregister, disconnect, flushchannelActive, channelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic FtpChannelTrafficShapingHandler(long checkInterval)
checkInterval - public FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit)
writeLimit - readLimit - public FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit,
long checkInterval)
writeLimit - readLimit - checkInterval - public FtpChannelTrafficShapingHandler(long writeLimit,
long readLimit,
long checkInterval,
long maxTime)
writeLimit - readLimit - checkInterval - maxTime - protected long calculateSize(Object msg)
calculateSize in class io.netty.handler.traffic.AbstractTrafficShapingHandlerCopyright © 2009–2020 Waarp. All rights reserved.