Class PooledByteBufAllocatorL

java.lang.Object
io.netty.buffer.PooledByteBufAllocatorL

public class PooledByteBufAllocatorL extends Object
The base allocator that we use for all of Drill's memory management. Returns UnsafeDirectLittleEndian buffers.
  • Field Details

  • Constructor Details

    • PooledByteBufAllocatorL

      public PooledByteBufAllocatorL(com.codahale.metrics.MetricRegistry registry)
  • Method Details

    • allocate

      public UnsafeDirectLittleEndian allocate(int size)
    • allocateHeap

      public io.netty.buffer.ByteBuf allocateHeap(int initialCapacity, int maxCapacity)
    • getChunkSize

      public int getChunkSize()