Uses of Class
io.lettuce.core.support.BoundedAsyncPool
-
Packages that use BoundedAsyncPool Package Description io.lettuce.core.support Supportive classes such asRedisClientCdiBean
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 newBoundedAsyncPool
using theSupplier
.static <T extends StatefulConnection<?,?>>
BoundedAsyncPool<T>AsyncConnectionPoolSupport. createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)
Create and initialize asynchronously a newBoundedAsyncPool
using 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 initializeBoundedAsyncPool
asynchronously.static <T extends StatefulConnection<?,?>>
CompletionStage<BoundedAsyncPool<T>>AsyncConnectionPoolSupport. createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config)
Create and initialize asynchronously a newBoundedAsyncPool
using theSupplier
.static <T extends StatefulConnection<?,?>>
CompletionStage<BoundedAsyncPool<T>>AsyncConnectionPoolSupport. createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier, BoundedPoolConfig config, boolean wrapConnections)
Create and initialize asynchronously a newBoundedAsyncPool
using theSupplier
.
-