public class SentinelConnectionManager extends MasterSlaveConnectionManager
codec, config, dnsMonitor, group, id, MAX_SLOT, resolverGroup, singleSlotRange, socketChannelClass| Constructor and Description |
|---|
SentinelConnectionManager(SentinelServersConfig cfg,
Config config,
UUID id) |
| Modifier and Type | Method and Description |
|---|---|
protected MasterSlaveServersConfig |
create(BaseMasterSlaveServersConfig<?> cfg) |
protected MasterSlaveEntry |
createMasterSlaveEntry(MasterSlaveServersConfig config,
HashSet<ClusterSlotRange> slots) |
void |
shutdown() |
protected void |
startDNSMonitoring(RedisClient masterHost) |
addEntry, calcSlot, changeMaster, closeNodeConnection, closeNodeConnections, connectionReadOp, connectionWriteOp, connectToNode, createClient, createClient, createClient, 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, stopThreadspublic SentinelConnectionManager(SentinelServersConfig cfg, Config config, UUID id)
protected void startDNSMonitoring(RedisClient masterHost)
startDNSMonitoring in class MasterSlaveConnectionManagerprotected MasterSlaveEntry createMasterSlaveEntry(MasterSlaveServersConfig config, HashSet<ClusterSlotRange> slots)
createMasterSlaveEntry in class MasterSlaveConnectionManagerprotected 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.