See: Description
Interface | Description |
---|---|
ObjectFactory<T> |
对象工厂接口,用于自定义对象创建、验证和销毁
来自:https://github.com/DanielYWoo/fast-object-pool/ |
ObjectPool<T> |
对象池接口,提供:
ObjectPool.borrowObject() 对象借出。 |
Poolable<T> |
池化对象
|
Class | Description |
---|---|
PoolConfig |
对象池配置,提供基本的配置项,包括:
最小池大小(初始大小)
最大池大小
最长等待时间
最长空闲时间
|
SimplePoolable<T> |
简单可池化对象,此对象会同时持有原始对象和所在的分区
|
Exception | Description |
---|---|
PoolException |
对象池异常
|
Copyright © 2025. All rights reserved.