public class SinglePubSubConnectionPool extends PubSubConnectionPool
Modifier and Type | Field and Description |
---|---|
protected List<ClientConnectionsEntry> |
entries |
Constructor and Description |
---|
SinglePubSubConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager,
MasterSlaveEntry masterSlaveEntry) |
Modifier and Type | Method and Description |
---|---|
io.netty.util.concurrent.Future<Void> |
add(ClientConnectionsEntry entry) |
io.netty.util.concurrent.Future<T> |
get() |
io.netty.util.concurrent.Future<T> |
get(ClientConnectionsEntry entry) |
protected ClientConnectionsEntry |
getEntry() |
void |
returnConnection(ClientConnectionsEntry entry,
T connection) |
connect, getMinimumIdleSize, poll, releaseConnection, releaseConnection, tryAcquireConnection
protected final List<ClientConnectionsEntry> entries
public SinglePubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry)
protected ClientConnectionsEntry getEntry()
public io.netty.util.concurrent.Future<Void> add(ClientConnectionsEntry entry)
public io.netty.util.concurrent.Future<T> get()
public io.netty.util.concurrent.Future<T> get(ClientConnectionsEntry entry)
public void returnConnection(ClientConnectionsEntry entry, T connection)
Copyright © 2014–2016. All rights reserved.