public class ByteBufAllocatorX extends Object implements io.netty.buffer.ByteBufAllocator
| 限定符和类型 | 字段和说明 |
|---|---|
static ByteBufAllocatorX |
INSTANCE |
static io.netty.buffer.ByteBufAllocator |
POOLED |
static io.netty.buffer.ByteBufAllocator |
UNPOOLED |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.buffer.ByteBuf |
buffer() |
io.netty.buffer.ByteBuf |
buffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
buffer(int initialCapacity,
int maxCapacity) |
int |
calculateNewCapacity(int minNewCapacity,
int maxCapacity) |
io.netty.buffer.CompositeByteBuf |
compositeBuffer() |
io.netty.buffer.CompositeByteBuf |
compositeBuffer(int maxNumComponents) |
io.netty.buffer.CompositeByteBuf |
compositeDirectBuffer() |
io.netty.buffer.CompositeByteBuf |
compositeDirectBuffer(int maxNumComponents) |
io.netty.buffer.CompositeByteBuf |
compositeHeapBuffer() |
io.netty.buffer.CompositeByteBuf |
compositeHeapBuffer(int maxNumComponents) |
io.netty.buffer.ByteBuf |
directBuffer() |
io.netty.buffer.ByteBuf |
directBuffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
directBuffer(int initialCapacity,
int maxCapacity) |
io.netty.buffer.ByteBuf |
heapBuffer() |
io.netty.buffer.ByteBuf |
heapBuffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
heapBuffer(int initialCapacity,
int maxCapacity) |
io.netty.buffer.ByteBuf |
ioBuffer() |
io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity,
int maxCapacity) |
boolean |
isDirectBufferPooled() |
public static final io.netty.buffer.ByteBufAllocator POOLED
public static final io.netty.buffer.ByteBufAllocator UNPOOLED
public static final ByteBufAllocatorX INSTANCE
public io.netty.buffer.ByteBuf buffer()
buffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf buffer(int initialCapacity)
buffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf buffer(int initialCapacity,
int maxCapacity)
buffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf ioBuffer()
ioBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf ioBuffer(int initialCapacity)
ioBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf ioBuffer(int initialCapacity,
int maxCapacity)
ioBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf heapBuffer()
heapBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf heapBuffer(int initialCapacity)
heapBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf heapBuffer(int initialCapacity,
int maxCapacity)
heapBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf directBuffer()
directBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
directBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.ByteBuf directBuffer(int initialCapacity,
int maxCapacity)
directBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeBuffer()
compositeBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeBuffer(int maxNumComponents)
compositeBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeHeapBuffer()
compositeHeapBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int maxNumComponents)
compositeHeapBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeDirectBuffer()
compositeDirectBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int maxNumComponents)
compositeDirectBuffer 在接口中 io.netty.buffer.ByteBufAllocatorpublic boolean isDirectBufferPooled()
isDirectBufferPooled 在接口中 io.netty.buffer.ByteBufAllocatorpublic int calculateNewCapacity(int minNewCapacity,
int maxCapacity)
calculateNewCapacity 在接口中 io.netty.buffer.ByteBufAllocatorCopyright © 2021. All rights reserved.