public class ReplicatedConnectionManager extends MasterSlaveConnectionManager
ConnectionManager for AWS ElastiCache Replication Groups or Azure Redis Cache. By providing all nodes
of the replication group to this manager, the role of each node can be polled to determine
if a failover has occurred resulting in a new master.codec, config, dnsMonitor, group, id, MAX_SLOT, resolverGroup, singleSlotRange, socketChannelClass| Constructor and Description |
|---|
ReplicatedConnectionManager(ReplicatedServersConfig cfg,
Config config,
UUID id) |
| Modifier and Type | Method and Description |
|---|---|
protected MasterSlaveServersConfig |
create(BaseMasterSlaveServersConfig<?> cfg) |
void |
shutdown() |
addEntry, calcSlot, changeMaster, closeNodeConnection, closeNodeConnections, connectionReadOp, connectionWriteOp, connectToNode, createClient, createClient, createClient, createMasterSlaveEntry, createRedisConfig, getCfg, getCodec, getCommandExecutor, getConfig, getConnectionEventsHub, getConnectionWatcher, getEntry, getEntry, getEntry, getEntrySet, getExecutor, getGroup, getId, getLastClusterNode, getShutdownLatch, getShutdownPromise, getSubscribeService, initSingleEntry, initTimer, isClusterMode, isShutdown, isShuttingDown, newTimeout, releaseRead, releaseWrite, removeEntry, shutdown, startDNSMonitoring, stopThreadspublic ReplicatedConnectionManager(ReplicatedServersConfig cfg, Config config, UUID id)
protected MasterSlaveServersConfig create(BaseMasterSlaveServersConfig<?> cfg)
create in class MasterSlaveConnectionManagerpublic void shutdown()
shutdown in interface ConnectionManagershutdown in class MasterSlaveConnectionManagerCopyright © 2014–2018 The Redisson Project. All rights reserved.