Uses of Class
io.lettuce.core.support.BoundedAsyncPool
| Package | Description |
|---|---|
| io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support, connection pooling, and
client-side caching. |
-
Uses of BoundedAsyncPool in io.lettuce.core.support
Methods in io.lettuce.core.support that return BoundedAsyncPool Modifier and Type Method Description 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.protected static <T extends StatefulConnection<?, ?>>
BoundedAsyncPool<T>AsyncConnectionPoolSupport. doCreatePool(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)Methods in io.lettuce.core.support that return types with arguments of type BoundedAsyncPool Modifier and Type Method Description static <T> CompletionStage<BoundedAsyncPool<T>>BoundedAsyncPool. create(AsyncObjectFactory<T> factory, BoundedPoolConfig poolConfig)Create and initializeBoundedAsyncPoolasynchronously.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.