public class MasterPubSubConnectionPool extends PubSubConnectionPool
Modifier and Type | Field | Description |
---|---|---|
protected List<ClientConnectionsEntry> |
entries |
Constructor | Description |
---|---|
MasterPubSubConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
Modifier and Type | Method | Description |
---|---|---|
protected RFuture<T> |
acquireConnection(RedisCommand<?> command,
ClientConnectionsEntry entry) |
|
RFuture<Void> |
add(ClientConnectionsEntry entry) |
|
RFuture<T> |
get(RedisCommand<?> command,
ClientConnectionsEntry entry) |
|
RFuture<RedisPubSubConnection> |
get(RedisCommand<?> command) |
|
void |
remove(ClientConnectionsEntry entry) |
|
void |
returnConnection(ClientConnectionsEntry entry,
T connection) |
|
protected boolean |
tryAcquireConnection(ClientConnectionsEntry entry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireConnection, connect, get, getMinimumIdleSize, poll, releaseConnection, releaseConnection
protected final List<ClientConnectionsEntry> entries
public MasterPubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry)
public RFuture<RedisPubSubConnection> get(RedisCommand<?> command)
public void remove(ClientConnectionsEntry entry)
public RFuture<Void> add(ClientConnectionsEntry entry)
public RFuture<T> get(RedisCommand<?> command, ClientConnectionsEntry entry)
protected final RFuture<T> acquireConnection(RedisCommand<?> command, ClientConnectionsEntry entry)
protected boolean tryAcquireConnection(ClientConnectionsEntry entry)
public void returnConnection(ClientConnectionsEntry entry, T connection)
Copyright © 2014–2018 The Redisson Project. All rights reserved.