Interface ObjectPool<T>

Type Parameters:
T - 对象类型
All Superinterfaces:
AutoCloseable, Closeable, Serializable
All Known Implementing Classes:
PartitionObjectPool, PoolPartition

public interface ObjectPool<T> extends Closeable, Serializable
对象池接口,提供: 对于对象池中对象维护,通过PoolConfig.getMaxIdle()控制,规则如下:
Since:
Java 17+
Author:
Kimi Liu