Uses of Interface
cloud.opencode.base.pool.ObjectPool
Packages that use ObjectPool
Package
Description
Pool Package - High-Performance Object Pool (JDK 25)
Pool包 - 高性能对象池 (JDK 25)
Impl Package - Pool Implementations
实现包 - 池实现
-
Uses of ObjectPool in cloud.opencode.base.pool
Methods in cloud.opencode.base.pool that return ObjectPoolModifier 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.createPool(Supplier<T> creator) Creates a pool from a Supplier (simplest API).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) Creates a pool from a Supplier with a destroyer Consumer.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) 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 ObjectPool in cloud.opencode.base.pool.impl
Classes in cloud.opencode.base.pool.impl that implement ObjectPoolModifier and TypeClassDescriptionclassGenericObjectPool - Generic Object Pool Implementation GenericObjectPool - 通用对象池实现classSoftReferencePool - Soft Reference Object Pool SoftReferencePool - 软引用对象池classThreadLocalPool - Thread Local Object Pool ThreadLocalPool - 线程本地对象池classVirtualThreadPool - Virtual Thread Friendly Object Pool VirtualThreadPool - 虚拟线程友好的对象池