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