public class SentinelConnectionManager extends MasterSlaveConnectionManager
codec, config, entries, group, name2PubSubConnection
Constructor and Description |
---|
SentinelConnectionManager(SentinelServersConfig cfg,
Config config) |
Modifier and Type | Method and Description |
---|---|
protected void |
onSlaveAdded(Set<String> addedSlaves,
URI addr,
String msg) |
protected void |
onSlaveUp(Set<String> freezeSlaves,
URI addr,
String msg) |
void |
shutdown() |
addSlave, changeMaster, connectionReadOp, connectionWriteOp, createReleaseReadListener, createReleaseWriteListener, get, getEntry, getEntry, getEntry, getGroup, init, init, init, read, read, readAsync, releaseRead, releaseWrite, returnSubscribeConnection, slaveDown, slaveUp, subscribe, subscribe, unsubscribe, write, write, writeAllAsync, writeAsync
public SentinelConnectionManager(SentinelServersConfig cfg, Config config)
public void shutdown()
shutdown
in interface ConnectionManager
shutdown
in class MasterSlaveConnectionManager
Copyright © 2014. All rights reserved.