Package cloud.opencode.base.pool.impl
package cloud.opencode.base.pool.impl
Impl Package - Pool Implementations
实现包 - 池实现
This package provides concrete implementations of object pools optimized for different use cases.
此包提供针对不同用例优化的对象池具体实现。
Classes | 类
GenericObjectPool- General-purpose poolGenericKeyedObjectPool- Keyed pool for multi-tenantSoftReferencePool- GC-friendly poolThreadLocalPool- Per-thread pool
Choosing a Pool | 选择池
- GenericObjectPool - Most common use cases - 最常见用例
- GenericKeyedObjectPool - Multi-datasource/tenant - 多数据源/租户
- SoftReferencePool - Memory-constrained - 内存受限环境
- ThreadLocalPool - Thread-affine workloads - 线程亲和工作负载
- Since:
- JDK 25, opencode-base-pool V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
ClassesClassDescriptionGenericKeyedObjectPool - Generic Keyed Object Pool Implementation GenericKeyedObjectPool - 通用键控对象池实现GenericObjectPool - Generic Object Pool Implementation GenericObjectPool - 通用对象池实现SoftReferencePool - Soft Reference Object Pool SoftReferencePool - 软引用对象池ThreadLocalPool - Thread Local Object Pool ThreadLocalPool - 线程本地对象池VirtualThreadPool - Virtual Thread Friendly Object Pool VirtualThreadPool - 虚拟线程友好的对象池