Package | Description |
---|---|
org.dromara.hutool.core.pool.partition |
基于分区的对象池实现,参考:https://github.com/DanielYWoo/fast-object-pool
|
Modifier and Type | Method and Description |
---|---|
PoolPartition<T> |
PoolPartition.free(T obj)
销毁对象,注意此方法操作的对象必须在队列外
|
PoolPartition<T> |
PoolPartition.returnObject(T obj)
归还对象
|
Constructor and Description |
---|
PartitionPoolable(T raw,
PoolPartition<T> partition)
构造
|
Copyright © 2025. All rights reserved.