public class ClusterConnectionListener extends DefaultConnectionListener
Constructor and Description |
---|
ClusterConnectionListener(boolean readFromSlaves) |
Modifier and Type | Method and Description |
---|---|
void |
onConnect(MasterSlaveServersConfig config,
ConnectionEntry.NodeType serverMode,
FutureConnectionListener connectionListener) |
public ClusterConnectionListener(boolean readFromSlaves)
public void onConnect(MasterSlaveServersConfig config, ConnectionEntry.NodeType serverMode, FutureConnectionListener connectionListener) throws RedisException
onConnect
in interface ConnectionListener
onConnect
in class DefaultConnectionListener
RedisException
Copyright © 2014–2015. All rights reserved.