Package org.redisson.connection
Class ConnectionsHolder<T extends RedisConnection>
java.lang.Object
org.redisson.connection.ConnectionsHolder<T>
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionConnectionsHolder
(RedisClient client, int poolMaxSize, Function<RedisClient, CompletionStage<T>> connectionCallback, ServiceManager serviceManager, boolean changeUsage) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture
<Void> acquireConnection
(RedisCommand<?> command) initConnections
(int minimumIdleSize) final void
releaseConnection
(ClientConnectionsEntry entry, T connection) <R extends RedisConnection>
booleanremove
(R connection) toString()
-
Constructor Details
-
ConnectionsHolder
public ConnectionsHolder(RedisClient client, int poolMaxSize, Function<RedisClient, CompletionStage<T>> connectionCallback, ServiceManager serviceManager, boolean changeUsage)
-
-
Method Details