Package-level declarations

Types

Link copied to clipboard
@ThreadSafe
class CommonObjectPool<K : Any, T : IPooledObject<K>>(factory: IObjectFactory<T>, executor: ScheduledExecutorService, configuration: PoolConfiguration, otherPool: SingleObjectPool<K, T>) : IObjectPool<K, T>
Link copied to clipboard
interface IObjectFactory<T : Any> : Closeable
Link copied to clipboard
interface IObjectPool<K : Any, T : Any> : Closeable
Link copied to clipboard
interface IPooledObject<K>
Link copied to clipboard
data class PoolConfiguration(val evictionDelayMillis: Long, val evictionIntervalMillis: Long, val maxTotal: Int)
Link copied to clipboard
Link copied to clipboard
@ThreadSafe
class SingleObjectPool<K : Any, T : IPooledObject<K>>(factory: IObjectFactory<T>, executor: ScheduledExecutorService, evictionDelayMillis: Long, evictionIntervalMillis: Long) : IObjectPool<K, T>