public class DefaultConnectionListener extends Object implements ConnectionInitializer
Constructor and Description |
---|
DefaultConnectionListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConnect(MasterSlaveServersConfig config,
ClientConnectionsEntry.NodeType serverMode,
FutureConnectionListener<? extends RedisConnection> connectionListener) |
<T extends RedisConnection> |
onConnect(io.netty.util.concurrent.Promise<T> connectionFuture,
T conn,
ClientConnectionsEntry.NodeType nodeType,
MasterSlaveServersConfig config) |
public final <T extends RedisConnection> void onConnect(io.netty.util.concurrent.Promise<T> connectionFuture, T conn, ClientConnectionsEntry.NodeType nodeType, MasterSlaveServersConfig config)
onConnect
in interface ConnectionInitializer
protected void doConnect(MasterSlaveServersConfig config, ClientConnectionsEntry.NodeType serverMode, FutureConnectionListener<? extends RedisConnection> connectionListener) throws RedisException
RedisException
Copyright © 2014–2015. All rights reserved.