public class DrillByteBufAllocator
extends io.netty.buffer.AbstractByteBufAllocator
Constructor and Description |
---|
DrillByteBufAllocator(BufferAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
io.netty.buffer.ByteBuf |
buffer() |
io.netty.buffer.ByteBuf |
buffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
buffer(int initialCapacity,
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 |
ioBuffer() |
io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity) |
io.netty.buffer.ByteBuf |
ioBuffer(int initialCapacity,
int maxCapacity) |
boolean |
isDirectBufferPooled() |
protected io.netty.buffer.ByteBuf |
newDirectBuffer(int initialCapacity,
int maxCapacity) |
protected io.netty.buffer.ByteBuf |
newHeapBuffer(int initialCapacity,
int maxCapacity) |
public DrillByteBufAllocator(BufferAllocator allocator)
public io.netty.buffer.ByteBuf buffer()
buffer
in interface io.netty.buffer.ByteBufAllocator
buffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf buffer(int initialCapacity)
buffer
in interface io.netty.buffer.ByteBufAllocator
buffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf buffer(int initialCapacity, int maxCapacity)
buffer
in interface io.netty.buffer.ByteBufAllocator
buffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf ioBuffer()
ioBuffer
in interface io.netty.buffer.ByteBufAllocator
ioBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity)
ioBuffer
in interface io.netty.buffer.ByteBufAllocator
ioBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity, int maxCapacity)
ioBuffer
in interface io.netty.buffer.ByteBufAllocator
ioBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf directBuffer()
directBuffer
in interface io.netty.buffer.ByteBufAllocator
directBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
directBuffer
in interface io.netty.buffer.ByteBufAllocator
directBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.ByteBuf directBuffer(int initialCapacity, int maxCapacity)
directBuffer
in interface io.netty.buffer.ByteBufAllocator
directBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.CompositeByteBuf compositeBuffer()
compositeBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.CompositeByteBuf compositeBuffer(int maxNumComponents)
compositeBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer()
compositeDirectBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeDirectBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int maxNumComponents)
compositeDirectBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeDirectBuffer
in class io.netty.buffer.AbstractByteBufAllocator
protected io.netty.buffer.ByteBuf newHeapBuffer(int initialCapacity, int maxCapacity)
newHeapBuffer
in class io.netty.buffer.AbstractByteBufAllocator
protected io.netty.buffer.ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity)
newDirectBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public boolean isDirectBufferPooled()
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer()
compositeHeapBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeHeapBuffer
in class io.netty.buffer.AbstractByteBufAllocator
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int maxNumComponents)
compositeHeapBuffer
in interface io.netty.buffer.ByteBufAllocator
compositeHeapBuffer
in class io.netty.buffer.AbstractByteBufAllocator
Copyright © 1970 The Apache Software Foundation. All rights reserved.