public class NettyBufferPool extends Object implements org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocator
PooledByteBufAllocator with strict control over the number of
created arenas.| 构造器和说明 |
|---|
NettyBufferPool(int numberOfArenas)
Creates Netty's buffer pool with the specified number of direct arenas.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
buffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
buffer(int initialCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
buffer(int initialCapacity,
int maxCapacity) |
int |
calculateNewCapacity(int minNewCapacity,
int maxCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeBuffer(int maxNumComponents) |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeDirectBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeDirectBuffer(int maxNumComponents) |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeHeapBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf |
compositeHeapBuffer(int maxNumComponents) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
directBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
directBuffer(int initialCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
directBuffer(int initialCapacity,
int maxCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
heapBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
heapBuffer(int initialCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
heapBuffer(int initialCapacity,
int maxCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
ioBuffer() |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity) |
org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity,
int maxCapacity) |
boolean |
isDirectBufferPooled() |
public NettyBufferPool(int numberOfArenas)
numberOfArenas - Number of arenas (recommended: 2 * number of task slots)public org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf buffer()
buffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf buffer(int initialCapacity)
buffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf buffer(int initialCapacity,
int maxCapacity)
buffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf ioBuffer()
ioBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf ioBuffer(int initialCapacity)
ioBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf ioBuffer(int initialCapacity,
int maxCapacity)
ioBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf heapBuffer()
heapBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf heapBuffer(int initialCapacity)
heapBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf heapBuffer(int initialCapacity,
int maxCapacity)
heapBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf directBuffer()
directBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
directBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.ByteBuf directBuffer(int initialCapacity,
int maxCapacity)
directBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeBuffer()
compositeBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeBuffer(int maxNumComponents)
compositeBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeHeapBuffer()
compositeHeapBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int maxNumComponents)
compositeHeapBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeDirectBuffer()
compositeDirectBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic org.apache.paimon.shade.netty4.io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int maxNumComponents)
compositeDirectBuffer 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic boolean isDirectBufferPooled()
isDirectBufferPooled 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorpublic int calculateNewCapacity(int minNewCapacity,
int maxCapacity)
calculateNewCapacity 在接口中 org.apache.paimon.shade.netty4.io.netty.buffer.ByteBufAllocatorCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.