Class ByteBlockPool.Allocator

    • Field Detail

      • blockSize

        protected final int blockSize
    • Constructor Detail

      • Allocator

        public Allocator​(int blockSize)
    • Method Detail

      • recycleByteBlocks

        public abstract void recycleByteBlocks​(byte[][] blocks,
                                               int start,
                                               int end)
      • recycleByteBlocks

        public void recycleByteBlocks​(List<byte[]> blocks)
      • getByteBlock

        public byte[] getByteBlock()