public class ElasticacheConnectionManager extends MasterSlaveConnectionManager
ConnectionManager
for AWS ElastiCache Replication Groups. 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, connectListener, entries, group, MAX_SLOT, name2PubSubConnection, singleSlotRange, socketChannelClass
Constructor and Description |
---|
ElasticacheConnectionManager(ElasticacheServersConfig cfg,
Config config) |
Modifier and Type | Method and Description |
---|---|
void |
shutdown() |
addEntry, calcSlot, changeMaster, connectionReadOp, connectionWriteOp, createClient, createClient, getClients, getCodec, getConfig, getConnectionEventsHub, getConnectionWatcher, getConnectListener, getEntries, getEntry, getEntry, getEntry, getGroup, getPubSubEntry, getShutdownLatch, init, init, initEntry, isShutdown, isShuttingDown, newFailedFuture, newPromise, newSucceededFuture, newTimeout, psubscribe, punsubscribe, releaseRead, releaseSubscribeConnection, releaseWrite, removeMaster, shutdownAsync, slaveDown, slaveDown, subscribe, unsubscribe
public ElasticacheConnectionManager(ElasticacheServersConfig cfg, Config config)
public void shutdown()
shutdown
in interface ConnectionManager
shutdown
in class MasterSlaveConnectionManager
Copyright © 2014–2016. All rights reserved.