上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 1. 什么是CAS协议很多中文的资料都不会告诉大家CAS的全称是什么,不过一定不要把CAS当作中国科学院(China Academy of Sciences)的缩写。Google.com一下,CAS是什么?CAS是Check And Set的缩写。 2. CAS协议原文 memcached协议 旧版 阅读全文
posted @ 2016-02-25 15:46 无心流泪 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 一、基本参数在我们第一次安装Memcached时,一般都是用过这个命令: memcached -m 512 -u root -d -l 127.0.0.1 -p 11211 我们先来解释这几个参数的含义吧。 -m 指定缓存所使用的最大内存容量,单位是Megabytes,默认是64MB-u 只有以ro 阅读全文
posted @ 2016-02-25 15:37 无心流泪 阅读(3587) 评论(0) 推荐(0) 编辑
摘要: 1. 构造函数 public MemcachedClient(InetSocketAddress[] ia) throws IOException; public MemcachedClient(List<InetSocketAddress> addrs) throws IOException; p 阅读全文
posted @ 2016-02-25 15:32 无心流泪 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 1)下载memcached的windows安装程序 memcached-1.2.4-Win32-Preview-20080309_bin.zip 或其他版本 2)解压memcached 用管理员身份运行cmd.exe cd到解压目录下 执行 memcached.exe -d install 安装me 阅读全文
posted @ 2016-02-25 15:28 无心流泪 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 在网络上有一个很多人转载的springmvc+redis整合的案例,不过一直不完整,也是被各种人装来转去,现在基本将该框架搭建起来。 redis-context.xml spring-context.xml spring-mvc.xml redis.properties web.xml 2018年5 阅读全文
posted @ 2016-02-25 13:29 无心流泪 阅读(65427) 评论(21) 推荐(4) 编辑
摘要: package redis.clients.jedis; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import ja... 阅读全文
posted @ 2016-02-24 11:03 无心流泪 阅读(1543) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <script src="jquery/jquery-1.11.1.min.js"> </script> <script> $(document).ready(function(){ $("p").click(function(){ $(t 阅读全文
posted @ 2016-02-18 14:37 无心流泪 阅读(159) 评论(0) 推荐(0) 编辑
摘要: final String rootPath = getServletConfig().getServletContext().getRealPath("/"); 获取项目运行的根路径: rootPath + /WEB-INF/classes/account.txt 获取文件的项目绝对路径 在ecli 阅读全文
posted @ 2016-02-02 20:22 无心流泪 阅读(455) 评论(0) 推荐(0) 编辑
摘要: org.quartz.scheduler.instanceName: PriorityExampleScheduler # Set thread count to 1 to force Triggers scheduled for the same time to # to be ordered b 阅读全文
posted @ 2016-02-02 17:00 无心流泪 阅读(636) 评论(0) 推荐(0) 编辑
摘要: /* * Copyright 2005 - 2009 Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in 阅读全文
posted @ 2016-02-02 16:15 无心流泪 阅读(250) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页