public class BeatsTransport extends AbstractTcpTransport
Modifier and Type | Class and Description |
---|---|
static class |
BeatsTransport.Config |
static interface |
BeatsTransport.Factory |
childEventLoopGroup, configuration, parentEventLoopGroup
CK_BIND_ADDRESS, CK_NUMBER_WORKER_THREADS, CK_PORT, CK_RECV_BUFFER_SIZE, eventLoopGroupFactory, localRegistry, socketAddress, throughputCounter, workerThreads
Constructor and Description |
---|
BeatsTransport(Configuration configuration,
io.netty.channel.EventLoopGroup eventLoopGroup,
EventLoopGroupFactory eventLoopGroupFactory,
NettyTransportConfiguration nettyTransportConfiguration,
ThroughputCounter throughputCounter,
LocalMetricRegistry localRegistry) |
Modifier and Type | Method and Description |
---|---|
protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> |
getCustomChildChannelHandlers(MessageInput input)
Subclasses can override this to modify the
channel handlers at the end of the pipeline for child channels. |
getBootstrap, getChildChannelHandlers, getLocalAddress, launch, stop
getAggregator, getChannelHandlers, getChannelInitializer, getMetricSet, getRecvBufferSize, setMessageAggregator
@Inject public BeatsTransport(Configuration configuration, io.netty.channel.EventLoopGroup eventLoopGroup, EventLoopGroupFactory eventLoopGroupFactory, NettyTransportConfiguration nettyTransportConfiguration, ThroughputCounter throughputCounter, LocalMetricRegistry localRegistry)
protected LinkedHashMap<String,Callable<? extends io.netty.channel.ChannelHandler>> getCustomChildChannelHandlers(MessageInput input)
NettyTransport
channel handlers
at the end of the pipeline for child channels.getCustomChildChannelHandlers
in class NettyTransport
input
- The MessageInput
for which these child channel handlers are being addedchannel handlers
to add to the Netty channel pipeline
for child channelsCopyright © 2012–2019 Graylog, Inc.. All rights reserved.