IBufferPool

Interface to manage buffer pool.

Parameters

T

type of buffer to manage

Inheritors

Functions

Link copied to clipboard
abstract fun clear()

Clear the pool.

Link copied to clipboard
abstract fun close()

Close the pool.

Link copied to clipboard
abstract fun get(capacity: Int): T

Get a buffer from the pool.

Link copied to clipboard
abstract fun put(buffer: T)

Put a buffer in the pool.