CommonObjectPool

@ThreadSafe
class CommonObjectPool<K : Any, T : IPooledObject<K>>(    factory: IObjectFactory<T>,     executor: ScheduledExecutorService,     configuration: PoolConfiguration,     otherPool: SingleObjectPool<K, T>) : IObjectPool<K, T>

Constructors

Link copied to clipboard
constructor(factory: IObjectFactory<T>, executor: ScheduledExecutorService, configuration: PoolConfiguration, otherPool: SingleObjectPool<K, T>)

Functions

Link copied to clipboard
open override fun borrowObject(): T
open override fun borrowObject(key: K): T
Link copied to clipboard
open override fun clear(priority: Priority)
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun returnObject(obj: T)