
public class ChannelCloseTimer extends Object implements io.netty.util.TimerTask
| Constructor and Description |
|---|
ChannelCloseTimer(io.netty.channel.Channel channel) |
ChannelCloseTimer(io.netty.channel.Channel channel,
io.netty.channel.ChannelFuture future) |
ChannelCloseTimer(ConnectionActions connectionActions) |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeFutureChannel(io.netty.channel.Channel channel)
Close in the future this channel
|
static void |
closeFutureTransaction(ConnectionActions connectionActions)
Close in the future this transaction (may need more than 1 WAITFORNETOP)
|
void |
run(io.netty.util.Timeout timeout) |
void |
setDbSession(DbSession dbSession) |
public ChannelCloseTimer(io.netty.channel.Channel channel)
public ChannelCloseTimer(io.netty.channel.Channel channel,
io.netty.channel.ChannelFuture future)
public ChannelCloseTimer(ConnectionActions connectionActions)
public void run(io.netty.util.Timeout timeout)
run in interface io.netty.util.TimerTaskpublic static void closeFutureTransaction(ConnectionActions connectionActions)
connectionActions - public final void setDbSession(DbSession dbSession)
public static void closeFutureChannel(io.netty.channel.Channel channel)
channel - Copyright © 2009–2022 Waarp. All rights reserved.