Package org.redisson.connection.pool
Class MasterPubSubConnectionPool
java.lang.Object
org.redisson.connection.pool.PubSubConnectionPool
org.redisson.connection.pool.MasterPubSubConnectionPool
Connection pool for Publish/Subscribe used with single node
- Author:
- Nikita Koksharov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMasterPubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry) -
Method Summary
Modifier and TypeMethodDescriptionprotected final CompletableFuture<RedisPubSubConnection> acquireConnection(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) final voidaddEntry(ClientConnectionsEntry entry) get(RedisCommand<?> command, boolean trackChanges) get(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) final voidMethods inherited from class org.redisson.connection.pool.PubSubConnectionPool
get, get, getConnectionHolder
-
Field Details
-
entries
-
-
Constructor Details
-
MasterPubSubConnectionPool
public MasterPubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry)
-
-
Method Details
-
get
-
addEntry
-
removeEntry
-
get
public CompletableFuture<RedisPubSubConnection> get(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) -
acquireConnection
protected final CompletableFuture<RedisPubSubConnection> acquireConnection(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges)
-