Package io.ktor.utils.io.pool
Types
Link copied to clipboard
class ByteBufferPool(capacity: Int, bufferSize: Int) : DefaultPool<ByteBuffer>
Content copied to clipboard
Link copied to clipboard
expect abstract class DefaultPool<T : Any>(capacity: Int) : ObjectPool<T>
Content copied to clipboard
Default object pool implementation.
actual abstract class DefaultPool<T : Any>(capacity: Int) : ObjectPool<T>
Content copied to clipboard
actual abstract class DefaultPool<T : Any>(capacity: Int) : ObjectPool<T>
Content copied to clipboard
actual abstract class DefaultPool<T : Any>(capacity: Int) : ObjectPool<T>
Content copied to clipboard
Link copied to clipboard
class DirectByteBufferPool(capacity: Int, bufferSize: Int) : DefaultPool<ByteBuffer>
Content copied to clipboard
Link copied to clipboard
A pool implementation of zero capacity that always creates new instances
Link copied to clipboard
Link copied to clipboard
A pool that produces at most one instance