public static void setupMemCachedPool() { String[] servers = {MEMCACHED_SERVER_ADDR}; SockIOPool pool = SockIOPool.getInstance(); pool.setServers(servers); pool.setFailover(true); pool.setInitConn(10); pool.setMinConn(1); pool.setMaxConn(20); // pool.setMaintSleep( 30 ); pool.setNagle(false); pool.setSocketTO(3000); pool.setAliveCheck(true); pool.initialize(); }