之前检查方面,我不知道是否有什么最好的做法是为usign spymemcached,但我看到了很多的教程,这是否在互联网上: mc = new MemcachedClient(
new ConnectionFactoryBuilder()
.setProtocol(ConnectionFactoryBuilder.Protocol.BINARY)
.
public class MemCacheClientInit {
static MemcachedClient mcc = null;
static String ipAdderss = "127.0.0.1";
static int port = 11211;
public static boolean isMemCacheInit = false;