Class BufferPool

java.lang.Object
org.apache.catalina.tribes.io.BufferPool

public class BufferPool extends Object
  • Field Details

  • Method Details

    • 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()