BufferPool.BufferPoolAPI (Apache Tomcat 8.5.53 API Documentation)

org.apache.catalina.tribes.io

## Interface BufferPool.BufferPoolAPI

- Enclosing class:
    BufferPool

      public static interface BufferPool.BufferPoolAPI

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()`
    `XByteBuffer` | `getBuffer(int minSize, boolean discard)`
    `void` | `returnBuffer(XByteBuffer buffer)`
    `void` | `setMaxSize(int bytes)`

- - ### Method Detail

    - #### setMaxSize

          void setMaxSize(int bytes)

    - #### getBuffer

          XByteBuffer getBuffer(int minSize,
                              boolean discard)

    - #### returnBuffer

          void returnBuffer(XByteBuffer buffer)

    - #### clear

          void clear()

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.