com.tacitknowledge.slowlight.proxyserver.metrics.InThroughputHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slowlight-proxy Show documentation
Show all versions of slowlight-proxy Show documentation
Standalone proxy tool for creating issues with synchronous RPC calls
The newest version!
package com.tacitknowledge.slowlight.proxyserver.metrics;
import com.tacitknowledge.slowlight.proxyserver.config.HandlerConfig;
import io.netty.channel.ChannelHandlerContext;
/**
* @author Pavel Sorocun ([email protected])
*/
public class InThroughputHandler extends ThroughputHandler
{
public InThroughputHandler(final HandlerConfig handlerConfig)
{
super(handlerConfig);
}
@Override
public void channelRead(final ChannelHandlerContext ctx, final Object msg) throws Exception
{
updateThroughputMetric(msg);
ctx.fireChannelRead(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy