public class FtpGlobalTrafficShapingHandler
extends io.netty.handler.traffic.GlobalChannelTrafficShapingHandler
Constructor and Description |
---|
FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor) |
FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor,
long checkInterval) |
FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit) |
FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval) |
FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval,
long maxTime) |
Modifier and Type | Method and Description |
---|---|
protected long |
calculateSize(Object msg) |
accelerationFactor, channelRead, channelTrafficCounters, checkWaitReadTime, configureChannel, doAccounting, getMaxGlobalWriteSize, getReadChannelLimit, getWriteChannelLimit, handlerAdded, handlerRemoved, informReadOperation, maxDeviation, maximumCumulativeReadBytes, maximumCumulativeWrittenBytes, queuesSize, release, setMaxDeviation, setMaxGlobalWriteSize, setReadChannelLimit, setWriteChannelLimit, slowDownFactor, submitWrite, toString, userDefinedWritabilityIndex, write
channelRegistered, configure, configure, configure, getCheckInterval, getMaxTimeWait, getMaxWriteDelay, getMaxWriteSize, getReadLimit, getWriteLimit, isHandlerActive, read, setCheckInterval, setMaxTimeWait, setMaxWriteDelay, setMaxWriteSize, setReadLimit, setWriteLimit, submitWrite, trafficCounter
bind, close, connect, deregister, disconnect, flush
channelActive, channelInactive, channelReadComplete, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
public FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit, long checkInterval, long maxTime)
public FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit, long checkInterval)
public FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor, long writeGlobalLimit, long readGlobalLimit, long writeChannelLimit, long readChannelLimit)
public FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor, long checkInterval)
public FtpGlobalTrafficShapingHandler(ScheduledExecutorService executor)
protected long calculateSize(Object msg)
calculateSize
in class io.netty.handler.traffic.AbstractTrafficShapingHandler
Copyright © 2009–2019 Waarp. All rights reserved.