请参阅: 说明
| 接口 | 说明 |
|---|---|
| ObjectFactory<T> |
对象工厂接口,用于自定义对象创建、验证和销毁
来自:https://github.com/DanielYWoo/fast-object-pool/ |
| ObjectPool<T> |
对象池接口,提供:
ObjectPool.borrowObject() 对象借出。 |
| Poolable<T> |
池化对象
|
| 类 | 说明 |
|---|---|
| PoolConfig |
对象池配置,提供基本的配置项,包括:
最小池大小(初始大小)
最大池大小
最长等待时间
最长空闲时间
|
| 异常错误 | 说明 |
|---|---|
| PoolException |
对象池异常
|
Copyright © 2024. All rights reserved.