comments added

pull/616/head
Nikita 9 years ago
parent bec6ee4d4d
commit 93dd797b1c

@ -22,6 +22,12 @@ import org.redisson.connection.MasterSlaveEntry;
import org.redisson.connection.ClientConnectionsEntry;
/**
* Connection pool for master node
*
* @author Nikita Koksharov
*
*/
public class MasterConnectionPool extends ConnectionPool<RedisConnection> {
public MasterConnectionPool(MasterSlaveServersConfig config,
ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry) {

@ -22,6 +22,12 @@ import org.redisson.connection.ClientConnectionsEntry;
import org.redisson.connection.ConnectionManager;
import org.redisson.connection.MasterSlaveEntry;
/**
* Connection pool for Publish / Subscribe
*
* @author Nikita Koksharov
*
*/
public class PubSubConnectionPool extends ConnectionPool<RedisPubSubConnection> {
public PubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager, MasterSlaveEntry masterSlaveEntry) {

@ -20,6 +20,12 @@ import org.redisson.connection.ClientConnectionsEntry;
import org.redisson.connection.ConnectionManager;
import org.redisson.connection.MasterSlaveEntry;
/**
* Connection pool for Publish/Subscribe used with single node
*
* @author Nikita Koksharov
*
*/
public class SinglePubSubConnectionPool extends PubSubConnectionPool {
public SinglePubSubConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager,

@ -21,6 +21,12 @@ import org.redisson.connection.ClientConnectionsEntry;
import org.redisson.connection.ConnectionManager;
import org.redisson.connection.MasterSlaveEntry;
/**
* Connection pool for slave node
*
* @author Nikita Koksharov
*
*/
public class SlaveConnectionPool extends ConnectionPool<RedisConnection> {
public SlaveConnectionPool(MasterSlaveServersConfig config, ConnectionManager connectionManager,

Loading…
Cancel
Save