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, DUMMY_TIMEOUT, 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, applyNatMap, calcSlot, calcSlot, changeMaster, closeNodeConnection, closeNodeConnections, connectionReadOp, connectionWriteOp, connectToNode, createClient, createClient, createClient, createMasterSlaveEntry, createNodeNotFoundFuture, createRedisConfig, disconnectNode, disconnectNode, getCfg, getCodec, getCommandExecutor, getConfig, getConnectionEventsHub, getConnectionWatcher, getElementsSubscribeService, getEntry, getEntry, getEntry, getEntry, getEntrySet, getExecutor, getGroup, getId, getLastClusterNode, getShutdownLatch, getShutdownPromise, getSubscribeService, initSingleEntry, initTimer, isClusterMode, isShutdown, isShuttingDown, newTimeout, releaseRead, releaseWrite, removeEntry, shutdown, startDNSMonitoring, stopThreads
public ReplicatedConnectionManager(ReplicatedServersConfig cfg, Config config, UUID id)
protected MasterSlaveServersConfig create(BaseMasterSlaveServersConfig<?> cfg)
create
in class MasterSlaveConnectionManager
public void shutdown()
shutdown
in interface ConnectionManager
shutdown
in class MasterSlaveConnectionManager
Copyright © 2014–2020 Redisson. All rights reserved.