* @param port Server port.
*/
public RedisClient(EventLoopGroup group, String host, int port, int timeout) {
addr = new InetSocketAddress(host, port);
bootstrap = new Bootstrap().channel(NioSocketChannel.class).group(group).remoteAddress(addr);
setDefaultTimeout(timeout, TimeUnit.MILLISECONDS);
channels = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}