CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 WEB源码 JSP源码/Java

文件名称:fileSync(java)

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    84.15kb
  • 已下载:
    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
fileSync(java)/client/.project
fileSync(java)/client/com/filesync/client/CollectThread.class
fileSync(java)/client/com/filesync/client/CollectThread.java
fileSync(java)/client/com/filesync/client/CollectThreadFactory.class
fileSync(java)/client/com/filesync/client/CollectThreadFactory.java
fileSync(java)/client/com/filesync/client/FileDisList.class
fileSync(java)/client/com/filesync/client/FileDisList.java
fileSync(java)/client/com/filesync/client/FileList.class
fileSync(java)/client/com/filesync/client/FileList.java
fileSync(java)/client/com/filesync/client/FileListThread.class
fileSync(java)/client/com/filesync/client/FileListThread.java
fileSync(java)/client/com/filesync/client/FileListThreadFactory.class
fileSync(java)/client/com/filesync/client/FileListThreadFactory.java
fileSync(java)/client/com/filesync/client/Log.class
fileSync(java)/client/com/filesync/client/Log.java
fileSync(java)/client/com/filesync/client/MonitorThread.class
fileSync(java)/client/com/filesync/client/MonitorThread.java
fileSync(java)/client/com/filesync/client/MonitorThreadFactory.class
fileSync(java)/client/com/filesync/client/MonitorThreadFactory.java
fileSync(java)/client/com/filesync/client/SendFile.class
fileSync(java)/client/com/filesync/client/SendFileClientMain.class
fileSync(java)/client/com/filesync/client/SendFileClientMain.java
fileSync(java)/client/com/filesync/client/SendFileThread.class
fileSync(java)/client/com/filesync/client/SendFileThread.java
fileSync(java)/client/com/filesync/client/SendFileThreadFactory.class
fileSync(java)/client/com/filesync/client/SendFileThreadFactory.java
fileSync(java)/client/fileforupload/test1.doc
fileSync(java)/client/fileforupload/test1.html
fileSync(java)/client/fileforupload/test1.pdf
fileSync(java)/client/fileforupload/test1.ppt
fileSync(java)/client/fileforupload/test1.txt
fileSync(java)/client/fileforupload/新建 文本文档 (2).txt
fileSync(java)/client/fileforupload/新建 文本文档.txt
fileSync(java)/client/fileforupload/新建 档 (3).txt
fileSync(java)/client/fileforupload/档.doc
fileSync(java)/client/log.properties
fileSync(java)/client/readme.txt
fileSync(java)/client/start.bat
fileSync(java)/server/.classpath
fileSync(java)/server/.project
fileSync(java)/server/com/filesync/server/FileList.class
fileSync(java)/server/com/filesync/server/FileList.java
fileSync(java)/server/com/filesync/server/FileServerMain.class
fileSync(java)/server/com/filesync/server/FileServerMain.java
fileSync(java)/server/com/filesync/server/FileThread.class
fileSync(java)/server/com/filesync/server/FileThread.java
fileSync(java)/server/com/filesync/server/FileThreadFactory.class
fileSync(java)/server/com/filesync/server/FileThreadFactory.java
fileSync(java)/server/com/filesync/server/InceptThread.class
fileSync(java)/server/com/filesync/server/InceptThread.java
fileSync(java)/server/com/filesync/server/Log.class
fileSync(java)/server/com/filesync/server/Log.java
fileSync(java)/server/com/filesync/server/ServerThread.class
fileSync(java)/server/com/filesync/server/ServerThread.java
fileSync(java)/server/com/filesync/server/ServerThreadFactory.class
fileSync(java)/server/com/filesync/server/ServerThreadFactory.java
fileSync(java)/server/com/filesync/server/ServerThreadFactory.java.bak
fileSync(java)/server/com/filesync/server/SocketList.class
fileSync(java)/server/com/filesync/server/SocketList.java
fileSync(java)/server/com/filesync/server/UpFile.class
fileSync(java)/server/lib/jmagick.jar
fileSync(java)/server/log.properties
fileSync(java)/server/readme.txt
fileSync(java)/server/start.bat
fileSync(java)/server/upload/test1.doc
fileSync(java)/server/upload/test1.html
fileSync(java)/server/upload/test1.pdf
fileSync(java)/server/upload/test1.ppt
fileSync(java)/server/upload/test1.txt
fileSync(java)/server/upload/新建 文本文档 (2).tx
fileSync(java)/server/upload/新建 文本文档.txt
fileSync(java)/server/upload/新建 档 (3).txt
fileSync(java)/server/upload/档.doc
fileSync(java)/client/com/filesync/client
fileSync(java)/server/com/filesync/server
fileSync(java)/client/com/filesync
fileSync(java)/server/com/filesync
fileSync(java)/client/com
fileSync(java)/client/fileforupload
fileSync(java)/client/logfile
fileSync(java)/server/com
fileSync(java)/server/lib
fileSync(java)/server/logfile
fileSync(java)/server/upload
fileSync(java)/client
fileSync(java)/server
fileSync(java)

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com