Class ByteBlockPool.Allocator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int blockSize  
    • Constructor Summary

      Constructors 
      Constructor Description
      Allocator​(int blockSize)  
    • 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​(java.util.List<byte[]> blocks)
      • getByteBlock

        public byte[] getByteBlock()