Interface ByteBufferPool

    • Method Detail

      • borrowBuffer

        ByteBuffer borrowBuffer()
        Extract a buffer from the pool.
      • returnBuffer

        void returnBuffer​(ByteBuffer buffer)
        Returns the buffer to the pool or just discards it for a non-pool strategy
      • setDefaultSize

        void setDefaultSize​(int defaultSize)
        Sets the default size of the buffers