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(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 extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config)
Creates a new
BoundedAsyncPool using the Supplier . |
static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.createBoundedObjectPool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections)
Creates a new
BoundedAsyncPool using the Supplier . |
Constructor and Description |
---|
BoundedAsyncPool(AsyncObjectFactory<T> factory,
BoundedPoolConfig poolConfig)
|
Copyright © 2019 lettuce.io. All rights reserved.