MemcachedClientBuilder builder = new XMemcachedClientBuilder(
AddrUtil.getAddresses(servers));
builder.addAuthInfo(AddrUtil.getOneAddress(servers), AuthInfo
.typical(username, password));
// Must use binary protocol
builder.setCommandFactory(new BinaryCommandFactory());
return builder.build();
} catch (IOException e) {
System.err.println("Create MemcachedClient fail");
e.printStackTrace();
}