Uses of Class
io.lettuce.core.support.BoundedPoolConfig
| Package | Description |
|---|---|
| io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support, connection pooling, and
client-side caching. |
-
Uses of BoundedPoolConfig in io.lettuce.core.support
Methods in io.lettuce.core.support that return BoundedPoolConfig Modifier and Type Method Description static BoundedPoolConfigCommonsPool2ConfigConverter. bounded(GenericObjectPoolConfig<?> config)ConvertsGenericObjectPoolConfigproperties to an immutableBoundedPoolConfig.BoundedPoolConfigBoundedPoolConfig.Builder. build()Build a newBasePoolConfigobject.static BoundedPoolConfigBoundedPoolConfig. create()Methods in io.lettuce.core.support with parameters of type BoundedPoolConfig Modifier and Type Method Description static <T> CompletionStage<BoundedAsyncPool<T>>BoundedAsyncPool. create(AsyncObjectFactory<T> factory, BoundedPoolConfig poolConfig)Create and initializeBoundedAsyncPoolasynchronously.static <T extends StatefulConnection<?, ?>>
BoundedAsyncPool<T>AsyncConnectionPoolSupport. createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config)Create and initialize asynchronously a newBoundedAsyncPoolusing theSupplier.static <T extends StatefulConnection<?, ?>>
BoundedAsyncPool<T>AsyncConnectionPoolSupport. createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)Create and initialize asynchronously a newBoundedAsyncPoolusing theSupplier.static <T extends StatefulConnection<?, ?>>
CompletionStage<BoundedAsyncPool<T>>AsyncConnectionPoolSupport. createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config)Create and initialize asynchronously a newBoundedAsyncPoolusing theSupplier.static <T extends StatefulConnection<?, ?>>
CompletionStage<BoundedAsyncPool<T>>AsyncConnectionPoolSupport. createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)Create and initialize asynchronously a newBoundedAsyncPoolusing theSupplier.protected static <T extends StatefulConnection<?, ?>>
BoundedAsyncPool<T>AsyncConnectionPoolSupport. doCreatePool(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)Constructors in io.lettuce.core.support with parameters of type BoundedPoolConfig Constructor Description BoundedAsyncPool(AsyncObjectFactory<T> factory, BoundedPoolConfig poolConfig)