release

abstract fun release(instance: T): Boolean

Release an instance to the pool.

Return

Whether the instance was put in the pool.

Parameters

instance

The instance to release.

Throws

If the instance is already in the pool.