| Package | Description |
|---|---|
| io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support,
RedisClientFactoryBean for Spring. |
| Modifier and Type | Method and Description |
|---|---|
static BoundedPoolConfig |
CommonsPool2ConfigConverter.bounded(org.apache.commons.pool2.impl.GenericObjectPoolConfig<?> config)
Converts
GenericObjectPoolConfig properties to an immutable BoundedPoolConfig. |
BoundedPoolConfig |
BoundedPoolConfig.Builder.build()
Build a new
BasePoolConfig object. |
static BoundedPoolConfig |
BoundedPoolConfig.create() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletionStage<BoundedAsyncPool<T>> |
BoundedAsyncPool.create(AsyncObjectFactory<T> factory,
BoundedPoolConfig poolConfig)
Create and initialize
BoundedAsyncPool asynchronously. |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier. |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier. |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier. |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPoolAsync(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections)
Create and initialize asynchronously a new
BoundedAsyncPool using the Supplier. |
protected static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.doCreatePool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections) |
| Constructor and Description |
|---|
BoundedAsyncPool(AsyncObjectFactory<T> factory,
BoundedPoolConfig poolConfig)
|
Copyright © 2021 lettuce.io. All rights reserved.