* @throws IOException - The exception while trying to establish the connection with the hosts.
* Typically this can happen if the Security Groups are configured properly, the hosts don't exists.
*/
EVCacheClientImpl(String appName, String zone, int id, int maxQueueSize, DynamicIntProperty readTimeout,
List<InetSocketAddress> memcachedNodesInZone) throws IOException {
super(appName, zone, id, readTimeout, new EVCacheConnectionFactory(appName, zone, id, maxQueueSize));
this.client = new MemcachedClient(connectionFactory, memcachedNodesInZone);
this.connectionObserver = new EVCacheConnectionObserver(appName, zone, id);
this.client.addObserver(connectionObserver);
}