SingleObjectPool

@ThreadSafe
class SingleObjectPool<K : Any, T : IPooledObject<K>>(    factory: IObjectFactory<T>,     executor: ScheduledExecutorService,     evictionDelayMillis: Long,     evictionIntervalMillis: Long) : IObjectPool<K, T>

Constructors

Link copied to clipboard
constructor(factory: IObjectFactory<T>, executor: ScheduledExecutorService, evictionDelayMillis: Long, evictionIntervalMillis: Long)

Functions

Link copied to clipboard
open override fun borrowObject(): T
open override fun borrowObject(key: K): T
Link copied to clipboard
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)