public class DefaultConnectionListener extends Object implements ConnectionInitializer
Constructor and Description |
---|
DefaultConnectionListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConnect(MasterSlaveServersConfig config,
NodeType nodeType,
FutureConnectionListener<? extends RedisConnection> connectionListener) |
<T extends RedisConnection> |
onConnect(RPromise<T> connectionFuture,
T conn,
NodeType nodeType,
MasterSlaveServersConfig config) |
public final <T extends RedisConnection> void onConnect(RPromise<T> connectionFuture, T conn, NodeType nodeType, MasterSlaveServersConfig config)
onConnect
in interface ConnectionInitializer
protected void doConnect(MasterSlaveServersConfig config, NodeType nodeType, FutureConnectionListener<? extends RedisConnection> connectionListener) throws RedisException
RedisException
Copyright © 2014–2016 The Redisson Project. All rights reserved.