public class PubSubConnectionPoll extends ConnectionPool<RedisPubSubConnection>
entries
Constructor and Description |
---|
PubSubConnectionPoll(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
Modifier and Type | Method and Description |
---|---|
protected io.netty.util.concurrent.Future<RedisPubSubConnection> |
connect(ClientConnectionsEntry entry) |
protected int |
getMinimumIdleSize(ClientConnectionsEntry entry) |
protected RedisPubSubConnection |
poll(ClientConnectionsEntry entry) |
protected void |
releaseConnection(ClientConnectionsEntry entry) |
protected void |
releaseConnection(ClientConnectionsEntry entry,
RedisPubSubConnection conn) |
protected boolean |
tryAcquireConnection(ClientConnectionsEntry entry) |
add, get, get, getEntry, returnConnection
public PubSubConnectionPoll(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry)
protected RedisPubSubConnection poll(ClientConnectionsEntry entry)
poll
in class ConnectionPool<RedisPubSubConnection>
protected int getMinimumIdleSize(ClientConnectionsEntry entry)
getMinimumIdleSize
in class ConnectionPool<RedisPubSubConnection>
protected io.netty.util.concurrent.Future<RedisPubSubConnection> connect(ClientConnectionsEntry entry)
connect
in class ConnectionPool<RedisPubSubConnection>
protected boolean tryAcquireConnection(ClientConnectionsEntry entry)
tryAcquireConnection
in class ConnectionPool<RedisPubSubConnection>
protected void releaseConnection(ClientConnectionsEntry entry)
releaseConnection
in class ConnectionPool<RedisPubSubConnection>
protected void releaseConnection(ClientConnectionsEntry entry, RedisPubSubConnection conn)
releaseConnection
in class ConnectionPool<RedisPubSubConnection>
Copyright © 2014–2015. All rights reserved.