Package | Description |
---|---|
io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support,
RedisClientFactoryBean for Spring. |
Modifier and Type | Method and Description |
---|---|
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 . |
protected static <T extends StatefulConnection<?,?>> |
AsyncConnectionPoolSupport.doCreatePool(Supplier<CompletionStage<T>> connectionSupplier,
BoundedPoolConfig config,
boolean wrapConnections) |
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.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 . |
Copyright © 2020 lettuce.io. All rights reserved.