Uses of Record Class
cloud.opencode.base.pool.PoolConfig
Packages that use PoolConfig
Package
Description
Pool Package - High-Performance Object Pool (JDK 25)
Pool包 - 高性能对象池 (JDK 25)
Impl Package - Pool Implementations
实现包 - 池实现
-
Uses of PoolConfig in cloud.opencode.base.pool
Methods in cloud.opencode.base.pool that return PoolConfigModifier and TypeMethodDescriptionPoolConfig.Builder.build()Builds the configuration.static PoolConfigOpenPool.defaultConfig()Gets the default pool configuration.static PoolConfigPoolConfig.defaults()Creates default configuration.Methods in cloud.opencode.base.pool with parameters of type PoolConfigModifier and TypeMethodDescriptionstatic <K,V> KeyedObjectPool <K, V> OpenPool.createKeyedPool(KeyedPooledObjectFactory<K, V> factory, PoolConfig config) Creates a keyed object pool with custom configuration.static <T> ObjectPool<T> OpenPool.createPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a generic object pool with custom configuration.static <T> ObjectPool<T> OpenPool.createPool(Supplier<T> creator, PoolConfig config) Creates a pool from a Supplier with custom configuration.static <T> ObjectPool<T> OpenPool.createPool(Supplier<T> creator, Consumer<T> destroyer, PoolConfig config) Creates a pool from a Supplier with a destroyer and custom configuration.static <T> ObjectPool<T> OpenPool.createSoftReferencePool(PooledObjectFactory<T> factory, PoolConfig config) Creates a soft reference pool with custom configuration.static <T> ObjectPool<T> OpenPool.createVirtualThreadPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a virtual thread optimized pool with custom configuration. -
Uses of PoolConfig in cloud.opencode.base.pool.impl
Methods in cloud.opencode.base.pool.impl with parameters of type PoolConfigModifier and TypeMethodDescriptionstatic <T> VirtualThreadPool<T> VirtualThreadPool.create(PooledObjectFactory<T> factory, PoolConfig config) Creates a VirtualThreadPool with factory and config 使用工厂和配置创建 VirtualThreadPoolConstructors in cloud.opencode.base.pool.impl with parameters of type PoolConfigModifierConstructorDescriptionGenericKeyedObjectPool(KeyedPooledObjectFactory<K, V> factory, PoolConfig config) Creates a keyed pool with custom configuration.GenericObjectPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a pool with custom configuration.SoftReferencePool(PooledObjectFactory<T> factory, PoolConfig config) Creates a soft reference pool with custom configuration.VirtualThreadPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a new VirtualThreadPool 创建新的 VirtualThreadPool