Package io.grpc.netty
Class NettySocketSupport
- java.lang.Object
-
- io.grpc.netty.NettySocketSupport
-
final class NettySocketSupport extends java.lang.ObjectAn class for getting low level socket info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceNettySocketSupport.Helperstatic classNettySocketSupport.NativeSocketOptionsA TcpInfo and additional other info that will be turned into channelz socket options.private static classNettySocketSupport.NettySocketHelperImpl
-
Field Summary
Fields Modifier and Type Field Description private static NettySocketSupport.Helperinstance
-
Constructor Summary
Constructors Constructor Description NettySocketSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NettySocketSupport.NativeSocketOptionsgetNativeSocketOptions(io.netty.channel.Channel ch)(package private) static voidsetHelper(NettySocketSupport.Helper helper)
-
-
-
Field Detail
-
instance
private static volatile NettySocketSupport.Helper instance
-
-
Method Detail
-
getNativeSocketOptions
public static NettySocketSupport.NativeSocketOptions getNativeSocketOptions(io.netty.channel.Channel ch)
-
setHelper
static void setHelper(NettySocketSupport.Helper helper)
-
-