欢迎来到天天文库
浏览记录
ID:18829513
大小:372.00 KB
页数:49页
时间:2018-09-26
《fourinone源代码分析》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、本示例把分配任务的程序比喻为“工头”,可以有一个工头进程,也可以有多个工头进程;把处理任务的程序比喻为“工人”,可以在多台机器上启动工人程序,也可以在同一机器上启动工人程序;把协调工人与工头之间的的程序比喻为职介所,有的职介所只负责联系工人和工头,然后工人工头之间直接接触,有的职介所还把工头的任务信息保存,然后工人从职介所里获得要处理的任务。一、本程序以fourinone-3.04.25.jar为基础错误:Jdk版本不一致Fourinone.jar是以jdk1.5编译的,如果使用jdk1.7则不能运行,这时可以重
2、新使用jdk1.7进行编译。编译:编译时可一次性进行Javac*.java;二、配置文件config.xml:运行时把配置文件config.xml、程序class、fourinone.jar放到同一目录下,如果class文件有包名,需要放在包根目录处,这样默认能找到。配置文件config.xml:ParkService3、VICE>localhost:1888,localhost:18890.9530000240falsetrue4、APP>CacheServicelocalhost:2000,localhost:20012010-01-01localhost:2000,localhost:2001@2010-01-01;localhost:2002,localhost5、:2003@2010-05-01;localhost:2004,localhost:2005@2010-05-012018-05-01localhost:2008,localhost:2009@2018-05-01;localhost:2010,localhost:2011@2018-05-016、ACHEFACADE">CacheFacadeServicelocalhost:19981002localhost:2088false7、CTOR">1010001localhost:21218、S>localhost:9080admin:admin,guest:123456,test:testALLS
3、VICE>localhost:1888,localhost:18890.9530000240falsetrue4、APP>CacheServicelocalhost:2000,localhost:20012010-01-01localhost:2000,localhost:2001@2010-01-01;localhost:2002,localhost5、:2003@2010-05-01;localhost:2004,localhost:2005@2010-05-012018-05-01localhost:2008,localhost:2009@2018-05-01;localhost:2010,localhost:2011@2018-05-016、ACHEFACADE">CacheFacadeServicelocalhost:19981002localhost:2088false7、CTOR">1010001localhost:21218、S>localhost:9080admin:admin,guest:123456,test:testALLS
4、APP>CacheServicelocalhost:2000,localhost:20012010-01-01localhost:2000,localhost:2001@2010-01-01;localhost:2002,localhost
5、:2003@2010-05-01;localhost:2004,localhost:2005@2010-05-012018-05-01localhost:2008,localhost:2009@2018-05-01;localhost:2010,localhost:2011@2018-05-016、ACHEFACADE">CacheFacadeServicelocalhost:19981002localhost:2088false7、CTOR">1010001localhost:21218、S>localhost:9080admin:admin,guest:123456,test:testALLS
6、ACHEFACADE">CacheFacadeServicelocalhost:19981002localhost:2088false7、CTOR">1010001localhost:21218、S>localhost:9080admin:admin,guest:123456,test:testALLS
7、CTOR">1010001localhost:21218、S>localhost:9080admin:admin,guest:123456,test:testALLS
8、S>localhost:9080admin:admin,guest:123456,test:testALLS
此文档下载收益归作者所有