Package org.redisson.connection.pool
Class PubSubConnectionPool
java.lang.Object
org.redisson.connection.pool.PubSubConnectionPool
- Direct Known Subclasses:
MasterPubSubConnectionPool
Connection pool for Publish / Subscribe
- Author:
- Nikita Koksharov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPubSubConnectionPool
(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry) -
Method Summary
Modifier and TypeMethodDescriptionprotected final CompletableFuture
<RedisPubSubConnection> acquireConnection
(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) final void
addEntry
(ClientConnectionsEntry entry) get()
get
(RedisCommand<?> command, boolean trackChanges) get
(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) get
(ClientConnectionsEntry entry) protected ConnectionsHolder
<RedisPubSubConnection> getConnectionHolder
(ClientConnectionsEntry entry, boolean trackChanges) final void
-
Field Details
-
entries
-
-
Constructor Details
-
PubSubConnectionPool
public PubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry)
-
-
Method Details
-
get
-
get
-
getConnectionHolder
protected ConnectionsHolder<RedisPubSubConnection> getConnectionHolder(ClientConnectionsEntry entry, boolean trackChanges) -
addEntry
-
removeEntry
-
get
-
get
public CompletableFuture<RedisPubSubConnection> get(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges) -
acquireConnection
protected final CompletableFuture<RedisPubSubConnection> acquireConnection(RedisCommand<?> command, ClientConnectionsEntry entry, boolean trackChanges)
-