public final class UnixChannelUtil
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
UnixChannelUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBufferCopyNeededForWrite(ByteBuf byteBuf)
Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers.
|
(package private) static boolean |
isBufferCopyNeededForWrite(ByteBuf byteBuf,
int iovMax) |
public static boolean isBufferCopyNeededForWrite(ByteBuf byteBuf)
static boolean isBufferCopyNeededForWrite(ByteBuf byteBuf, int iovMax)