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, 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, 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–2019 The Redisson Project. All rights reserved.