Package io.netty.buffer
Class PooledByteBufAllocatorL
java.lang.Object
io.netty.buffer.PooledByteBufAllocatorL
The base allocator that we use for all of Drill's memory management. Returns
UnsafeDirectLittleEndian buffers.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
final UnsafeDirectLittleEndian
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallocate
(int size) io.netty.buffer.ByteBuf
allocateHeap
(int initialCapacity, int maxCapacity) int
-
Field Details
-
METRIC_PREFIX
- See Also:
-
empty
-
ASSERT_ENABLED
public static final boolean ASSERT_ENABLED
-
-
Constructor Details
-
PooledByteBufAllocatorL
public PooledByteBufAllocatorL(com.codahale.metrics.MetricRegistry registry)
-
-
Method Details
-
allocate
-
allocateHeap
public io.netty.buffer.ByteBuf allocateHeap(int initialCapacity, int maxCapacity) -
getChunkSize
public int getChunkSize()
-