Uses of Interface
cloud.opencode.base.pool.PooledObjectFactory
Packages that use PooledObjectFactory
Package
Description
Pool Package - High-Performance Object Pool (JDK 25)
Pool包 - 高性能对象池 (JDK 25)
Factory Package - Pooled Object Factories
工厂包 - 池化对象工厂
Impl Package - Pool Implementations
实现包 - 池实现
-
Uses of PooledObjectFactory in cloud.opencode.base.pool
Methods in cloud.opencode.base.pool with parameters of type PooledObjectFactoryModifier and TypeMethodDescriptionstatic <T> ObjectPool<T> OpenPool.createPool(PooledObjectFactory<T> factory) Creates a generic object pool with default 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.createSoftReferencePool(PooledObjectFactory<T> factory) Creates a soft reference pool (GC-friendly).static <T> ObjectPool<T> OpenPool.createSoftReferencePool(PooledObjectFactory<T> factory, PoolConfig config) Creates a soft reference pool with custom configuration.static <T> ObjectPool<T> OpenPool.createThreadLocalPool(PooledObjectFactory<T> factory) Creates a thread-local pool (one object per thread).static <T> ObjectPool<T> OpenPool.createVirtualThreadPool(PooledObjectFactory<T> factory) Creates a virtual thread optimized pool with default configuration.static <T> ObjectPool<T> OpenPool.createVirtualThreadPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a virtual thread optimized pool with custom configuration. -
Uses of PooledObjectFactory in cloud.opencode.base.pool.factory
Classes in cloud.opencode.base.pool.factory that implement PooledObjectFactoryModifier and TypeClassDescriptionclassBasePooledObjectFactory - Base Pooled Object Factory BasePooledObjectFactory - 基础池化对象工厂final classSimplePooledObjectFactory - Functional Pooled Object Factory SimplePooledObjectFactory - 函数式池化对象工厂 -
Uses of PooledObjectFactory in cloud.opencode.base.pool.impl
Methods in cloud.opencode.base.pool.impl with parameters of type PooledObjectFactoryModifier 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 PooledObjectFactoryModifierConstructorDescriptionGenericObjectPool(PooledObjectFactory<T> factory) Creates a pool with default configuration.GenericObjectPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a pool with custom configuration.SoftReferencePool(PooledObjectFactory<T> factory) Creates a soft reference pool with default configuration.SoftReferencePool(PooledObjectFactory<T> factory, PoolConfig config) Creates a soft reference pool with custom configuration.ThreadLocalPool(PooledObjectFactory<T> factory) Creates a thread-local pool.VirtualThreadPool(PooledObjectFactory<T> factory, PoolConfig config) Creates a new VirtualThreadPool 创建新的 VirtualThreadPool