* @param port Server port.
*/
public RedisClient(String host, int port) {
ExecutorService connectors = Executors.newFixedThreadPool(1);
ExecutorService workers = Executors.newCachedThreadPool();
ClientSocketChannelFactory factory = new NioClientSocketChannelFactory(connectors, workers);
InetSocketAddress addr = new InetSocketAddress(host, port);
bootstrap = new ClientBootstrap(factory);
bootstrap.setOption("remoteAddress", addr);