文件名称:fileSync(java)

  • 所属分类:
  • JSP源码/Java
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 84kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 吴**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

前几天在本站下了个同步源码,其功能是读取数据库文件信息,然后将相应的文件由client端传送到server端。本人略做改变,实现读取指定目录信息,然后传送到server端,并保持实时更新(就是说如果client端有新增文件产生,会立刻被同步到server端)。由于考虑到实现方法上的局限(采用线程递归轮循扫描的方式),我仅仅是实现了这个功能,其它细节都未处理,有兴趣的可以自己去改进。局限:对于上百、上千的文件同步速度可以接受,但是如果同步数量上十万、百万,问题就大了;另外,现在是实现的是重复同步。-A few days ago the site made a synchronous source, its function is to read the database file information, and then the appropriate file from the client side to send to the server side.I slightly altered, to achieve the designated directory information to read, and then sent to the server side, and maintain real-time updates (that is, if there are any new files created client-side will be immediately synchronized to the server side). Taking into account the limitations on the implementation method (using the thread-recursive round robin scanning mode), I just realized this function, other details are not addressed, there is interest in yourself to do better. Limitations: For hundreds, thousands of file synchronization speed is acceptable, but if the number on the synchronization of thousands or millions, the problem is big In addition, it is to achieve a repetition synchronization.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

fileSync(java)\client\.classpath

..............\......\.project

..............\......\com\filesync\client\CollectThread.class

..............\......\...\........\......\CollectThread.java

..............\......\...\........\......\CollectThreadFactory.class

..............\......\...\........\......\CollectThreadFactory.java

..............\......\...\........\......\FileDisList.class

..............\......\...\........\......\FileDisList.java

..............\......\...\........\......\FileList.class

..............\......\...\........\......\FileList.java

..............\......\...\........\......\FileListThread.class

..............\......\...\........\......\FileListThread.java

..............\......\...\........\......\FileListThreadFactory.class

..............\......\...\........\......\FileListThreadFactory.java

..............\......\...\........\......\Log.class

..............\......\...\........\......\Log.java

..............\......\...\........\......\MonitorThread.class

..............\......\...\........\......\MonitorThread.java

..............\......\...\........\......\MonitorThreadFactory.class

..............\......\...\........\......\MonitorThreadFactory.java

..............\......\...\........\......\SendFile.class

..............\......\...\........\......\SendFileClientMain.class

..............\......\...\........\......\SendFileClientMain.java

..............\......\...\........\......\SendFileThread.class

..............\......\...\........\......\SendFileThread.java

..............\......\...\........\......\SendFileThreadFactory.class

..............\......\...\........\......\SendFileThreadFactory.java

..............\......\fileforupload\test1.doc

..............\......\.............\test1.html

..............\......\.............\test1.pdf

..............\......\.............\test1.ppt

..............\......\.............\test1.txt

..............\......\.............\新建 文本文档 (2).txt

..............\......\.............\新建 文本文档.txt

..............\......\.............\新建 档 (3).txt

..............\......\.............\档.doc

..............\......\log.properties

..............\......\readme.txt

..............\......\start.bat

..............\server\.classpath

..............\......\.project

..............\......\com\filesync\server\FileList.class

..............\......\...\........\......\FileList.java

..............\......\...\........\......\FileServerMain.class

..............\......\...\........\......\FileServerMain.java

..............\......\...\........\......\FileThread.class

..............\......\...\........\......\FileThread.java

..............\......\...\........\......\FileThreadFactory.class

..............\......\...\........\......\FileThreadFactory.java

..............\......\...\........\......\InceptThread.class

..............\......\...\........\......\InceptThread.java

..............\......\...\........\......\Log.class

..............\......\...\........\......\Log.java

..............\......\...\........\......\ServerThread.class

..............\......\...\........\......\ServerThread.java

..............\......\...\........\......\ServerThreadFactory.class

..............\......\...\........\......\ServerThreadFactory.java

..............\......\...\........\......\ServerThreadFactory.java.bak

..............\......\...\........\......\SocketList.class

..............\......\...\........\......\SocketList.java

..............\......\...\........\......\UpFile.class

..............\......\lib\jmagick.jar

..............\......\log.properties

..............\......\readme.txt

..............\......\start.bat

..............\......\upload\test1.doc

..............\......\......\test1.html

..............\......\......\test1.pdf

..............\......\......\test1.ppt

..............\......\......\test1.txt

..............\......\......\新建 文本文档 (2).tx

..............\......\......\新建 文本文档.txt

..............\......\......\新建 档 (3).txt

..............\......\......\档.doc

..............\client\com\filesync\client

..............\server\com\filesync\server

..............\client\com\filesync

.............

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org