81,092
社区成员
发帖
与我相关
我的任务
分享
// 设置与缓存服务器的连接池
static {
// 服务器列表和其权重
String[] servers = {10.2.11.2:11211};
Integer[] weights = {3};
// 获取socke连接池的实例对象
SockIOPool pool = SockIOPool.getInstance();