@InterfaceAudience.Private public final class NettyUnsafeUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
NettyUnsafeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeImmediately(org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
Directly closes the channel, setting SO_LINGER to 0 and skipping any handlers in the pipeline.
|
static long |
getTotalPendingOutboundBytes(org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
Get total bytes pending write to socket
|
private NettyUnsafeUtils()
public static void closeImmediately(org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
It's necessary to call this from within the channel's eventLoop!
public static long getTotalPendingOutboundBytes(org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.