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 TypeMethodDescriptionacquireConnection
(RedisCommand<?> command) void
addConnection
(T conn) connect()
initConnections
(int minimumIdleSize) pollConnection
(RedisCommand<?> command) void
void
releaseConnection
(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