public class CommonsPool2ConfigConverter extends Object
BoundedPoolConfig
.Modifier and Type | Method and Description |
---|---|
static BoundedPoolConfig |
bounded(GenericObjectPoolConfig<?> config)
Converts
GenericObjectPoolConfig properties to an immutable BoundedPoolConfig . |
public static BoundedPoolConfig bounded(GenericObjectPoolConfig<?> config)
GenericObjectPoolConfig
properties to an immutable BoundedPoolConfig
. Applies max total, min/max
idle and test on borrow/create/release configuration.config
- must not be null
.BoundedPoolConfig
.Copyright © 2023 lettuce.io. All rights reserved.