锘??xml version="1.0" encoding="utf-8" standalone="yes"?>免费人成网站在线观看欧美高清,国产精品视频观看,一本一本久久a久久精品综合妖精http://m.shnenglu.com/fengyue/category/16229.htmlzh-cnSun, 30 Sep 2012 18:18:13 GMTSun, 30 Sep 2012 18:18:13 GMT60tomcat浣跨敤jdk1.6鍚姩欏圭洰鐨勬姤閿?/title><link>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html</link><dc:creator>椋庢偊</dc:creator><author>椋庢偊</author><pubDate>Sat, 29 Sep 2012 12:25:00 GMT</pubDate><guid>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html</guid><wfw:comment>http://m.shnenglu.com/fengyue/comments/192440.html</wfw:comment><comments>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fengyue/comments/commentRss/192440.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fengyue/services/trackbacks/192440.html</trackback:ping><description><![CDATA[<p>2011-07-15 12:50 java.lang.ClassFormatError: Illegal class name "[L[Ljava/lang/String;;" in class file鏍規嵁緗戜笂璧勬枡鐪?a >http://fm928.blog.163.com/blog/static/748135201123115355946/</a></p> <p>鍦╦ava鏈嶅姟錛坱omcat錛夊惎鍔ㄦ椂 澧炲姞鍙傛暟澧炲姞鍙傛暟-Xverify:none</p> <p>catalina.bat鏈鍚?br />%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%  -Xverify:none    %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%</p> <p>灝卞ソ浜嗐傚簲涓簀dk bug<br /></p><img src ="http://m.shnenglu.com/fengyue/aggbug/192440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fengyue/" target="_blank">椋庢偊</a> 2012-09-29 20:25 <a href="http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>memcached搴旂敤闅忕瑪http://m.shnenglu.com/fengyue/archive/2011/11/24/160897.html椋庢偊椋庢偊Thu, 24 Nov 2011 06:07:00 GMThttp://m.shnenglu.com/fengyue/archive/2011/11/24/160897.htmlhttp://m.shnenglu.com/fengyue/comments/160897.htmlhttp://m.shnenglu.com/fengyue/archive/2011/11/24/160897.html#Feedback0http://m.shnenglu.com/fengyue/comments/commentRss/160897.htmlhttp://m.shnenglu.com/fengyue/services/trackbacks/160897.htmlMemcached 鏄竴涓珮鎬ц兘鐨勫垎甯冨紡鍐呭瓨瀵硅薄緙撳瓨緋葷粺錛岀敤浜庡姩鎬乄eb搴旂敤浠ュ噺杞繪暟鎹簱璐熻澆銆傜浉淇″ぇ瀹跺瀹冨茍涓嶉檶鐢燂紝涓嬮潰鎶婃垜鏈榪戝紑鍙戠殑欏圭洰涓敤鍒扮殑涓涓緥瀛愬垎浜嚭鏉ワ紝緇欏ぇ瀹朵竴璧峰涔犮傚湪璁塊棶memcached鏃訛紝閫氳繃synchronized瀹炵幇鍚屾銆傚湪闇瑕佹搷浣渕emcached鐨勫湴鏂瑰彲浠ュ緢鏂逛究鍦伴氳繃綾籆acheFactory榪涜銆傚簾璇濆皯璇達紝鐩存帴璐翠笂浠g爜銆?
 1import org.apache.log4j.BasicConfigurator;
 2import org.apache.log4j.Logger;
 3
 4
 5import com.danga.MemCached.MemCachedClient;
 6import com.danga.MemCached.SockIOPool;
 7
 8
 9/**
10 * memcache宸ュ巶綾?br />11 * 
12 * @author fengyue
13 * @date Feb 16, 2011
14 */

15public class CacheFactory {
16private static final Logger logger = Logger.getLogger(CacheFactory.class);
17private static MemCachedClient memcache = null;
18
19
20public static MemCachedClient getCache() {
21if (memcache == null{
22synchronized (CacheFactory.class{
23if (memcache == null)
24getInstance();
25}

26}

27
28
29return memcache;
30}

31
32
33private static void getInstance() {
34try {
35BasicConfigurator.configure();
36String serverI = "10.185.23.17:13000";
37String[] servers = { serverI };
38SockIOPool pool = SockIOPool.getInstance();
39pool.setServers(servers);
40pool.setFailover(true);
41pool.setInitConn(10);
42pool.setMinConn(5);
43pool.setMaxConn(250);
44pool.setMaintSleep(30);
45pool.setNagle(false);
46pool.setSocketTO(3000);
47
48
49pool.initialize();
50memcache = new MemCachedClient();
51memcache.add("test""test1111111111111111111");
52
53
54}
 catch (Exception e) {
55logger.debug("failed to init memcache");
56e.printStackTrace();
57}

58}

59
60
61
62
63public static void main(String[] argvs) {
64//寰memcache瀛樺叆緙撳瓨鍊?/span>
65CacheFactory.getCache().set("myloginkey“, "1", new Date(3 * 60 * 60 * 1000));
66//鍙栧嚭鍊?/span>
67CacheFactory.getCache().get("myloginkey");
68//鍒犻櫎
69CacheFactory.getCache().delete("myloginkey");
70return;
71}

72}



椋庢偊 2011-11-24 14:07 鍙戣〃璇勮
]]>
麻豆精品久久久久久久99蜜桃| 久久线看观看精品香蕉国产| 久久精品国产男包| 精品久久久一二三区| 国产午夜精品久久久久免费视| 久久99亚洲综合精品首页| 久久国产免费直播| 国产69精品久久久久9999| 怡红院日本一道日本久久 | 久久久久99这里有精品10| 99精品久久精品| 少妇人妻88久久中文字幕| 亚洲欧美日韩精品久久亚洲区| 久久久久国色AV免费观看| 久久久久人妻精品一区| 国产激情久久久久影院小草 | 久久99国产精品一区二区| 久久er热视频在这里精品| 国产精品gz久久久| 久久综合给久久狠狠97色 | 国产亚洲色婷婷久久99精品91| 欧美午夜精品久久久久久浪潮| 亚洲熟妇无码另类久久久| 999久久久免费国产精品播放| 久久亚洲精品无码aⅴ大香| 国产69精品久久久久9999| 伊人久久大香线蕉亚洲五月天 | 成人国内精品久久久久影院VR| 伊人久久国产免费观看视频| 久久99毛片免费观看不卡| 成人午夜精品无码区久久| 久久综合九色综合久99| 久久99久久99精品免视看动漫| 伊人伊成久久人综合网777| 久久福利青草精品资源站免费 | 国内精品久久久久久久久电影网 | 国产成人无码精品久久久久免费| 囯产极品美女高潮无套久久久| 无码人妻少妇久久中文字幕| 94久久国产乱子伦精品免费| 久久综合88熟人妻|