Package org.opensearch.transport
Class NettyAllocator
- java.lang.Object
-
- org.opensearch.transport.NettyAllocator
-
public class NettyAllocator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNettyAllocator.NoDirectBuffers
-
Constructor Summary
Constructors Constructor Description NettyAllocator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.buffer.ByteBufAllocatorgetAllocator()static java.lang.StringgetAllocatorDescription()static java.lang.Class<? extends io.netty.channel.Channel>getChannelType()static java.lang.Class<? extends io.netty.channel.ServerChannel>getServerChannelType()static voidlogAllocatorDescriptionIfNeeded()static longsuggestedMaxAllocationSize()
-
-
-
Method Detail
-
logAllocatorDescriptionIfNeeded
public static void logAllocatorDescriptionIfNeeded()
-
getAllocator
public static io.netty.buffer.ByteBufAllocator getAllocator()
-
suggestedMaxAllocationSize
public static long suggestedMaxAllocationSize()
-
getAllocatorDescription
public static java.lang.String getAllocatorDescription()
-
getChannelType
public static java.lang.Class<? extends io.netty.channel.Channel> getChannelType()
-
getServerChannelType
public static java.lang.Class<? extends io.netty.channel.ServerChannel> getServerChannelType()
-
-