class NettyEventServer extends Object implements EventServer
| Modifier and Type | Field and Description |
|---|---|
private io.netty.channel.Channel |
channel |
private io.netty.channel.EventLoopGroup |
group |
private Duration |
shutdownQuietPeriod |
private Duration |
shutdownTimeout |
| Constructor and Description |
|---|
NettyEventServer(io.netty.channel.EventLoopGroup group,
io.netty.channel.Channel channel)
Netty Event Server with Event Loop Group and bound Channel
|
NettyEventServer(io.netty.channel.EventLoopGroup group,
io.netty.channel.Channel channel,
Duration quietPeriod,
Duration timeout)
Netty Event Server with Event Loop Group, bound Channel, and Shutdown Configuration
|
private final io.netty.channel.EventLoopGroup group
private final io.netty.channel.Channel channel
private final Duration shutdownQuietPeriod
private final Duration shutdownTimeout
NettyEventServer(io.netty.channel.EventLoopGroup group,
io.netty.channel.Channel channel)
group - Event Loop Groupchannel - Bound ChannelNettyEventServer(io.netty.channel.EventLoopGroup group,
io.netty.channel.Channel channel,
Duration quietPeriod,
Duration timeout)
group - Event Loop Groupchannel - Bound ChannelquietPeriod - server shutdown quiet periodtimeout - server shutdown timeoutpublic void shutdown()
shutdown in interface EventServerCopyright © 2022 Apache NiFi Project. All rights reserved.