Class BufferPool


  • public class BufferPool
    extends Object
    • Method Detail

      • getBufferPool

        public static BufferPool getBufferPool()
      • getBuffer

        public XByteBuffer getBuffer​(int minSize,
                                     boolean discard)
      • returnBuffer

        public void returnBuffer​(XByteBuffer buffer)
      • clear

        public void clear()
      • setMaxSize

        public void setMaxSize​(int bytes)
      • getMaxSize

        public int getMaxSize()