BasicPool

open class BasicPool<T> : Pool<T>

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun acquire(): T?

Acquires an instance from the pool. This returns null if the pool is empty.

Link copied to clipboard
open override fun release(instance: T?)

Releases an instance to the pool. This has no effect if the instance is null.