Class NetworkTrafficCounter
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelDuplexHandler
-
- io.netty.handler.traffic.AbstractTrafficShapingHandler
-
- io.netty.handler.traffic.ChannelTrafficShapingHandler
-
- org.apache.sysds.runtime.controlprogram.paramserv.NetworkTrafficCounter
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
,io.netty.channel.ChannelOutboundHandler
public class NetworkTrafficCounter extends io.netty.handler.traffic.ChannelTrafficShapingHandler
-
-
Constructor Summary
Constructors Constructor Description NetworkTrafficCounter(BiConsumer<Long,Long> fn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelInactive(io.netty.channel.ChannelHandlerContext ctx)
-
Methods inherited from class io.netty.handler.traffic.ChannelTrafficShapingHandler
handlerAdded, handlerRemoved, queueSize
-
Methods inherited from class io.netty.handler.traffic.AbstractTrafficShapingHandler
channelRead, channelRegistered, configure, configure, configure, getCheckInterval, getMaxTimeWait, getMaxWriteDelay, getMaxWriteSize, getReadLimit, getWriteLimit, read, setCheckInterval, setMaxTimeWait, setMaxWriteDelay, setMaxWriteSize, setReadLimit, setWriteLimit, toString, trafficCounter, write
-
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush
-
-
-
-
Constructor Detail
-
NetworkTrafficCounter
public NetworkTrafficCounter(BiConsumer<Long,Long> fn)
-
-