synchronized(this) {
if (_clientFactory == null) {
_clientFactory = new SpyMemcachedClientFactory(); // default client
}
}
AbstractKeyValueStoreClient client = _clientFactory.create(serverString);
client.setTimeoutInMs(getTimeoutInMs());
return client;
}