public class SentinelConnectionManager extends MasterSlaveConnectionManager
codec, config, entries, group, name2PubSubConnection, socketChannelClass
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, createClient, createClient, createReleaseReadListener, createReleaseWriteListener, get, getEntry, getEntry, getEntry, getGroup, init, init, init, newTimeout, psubscribe, punsubscribe, read, read, read, read, readAsync, readAsync, releaseRead, releaseWrite, removeMaster, returnSubscribeConnection, slaveDown, slaveUp, subscribe, subscribe, unsubscribe, write, write, write, write, write, write, writeAllAsync, writeAsync, writeAsync
public SentinelConnectionManager(SentinelServersConfig cfg, Config config)
public void shutdown()
shutdown
in interface ConnectionManager
shutdown
in class MasterSlaveConnectionManager
Copyright © 2014–2015. All rights reserved.