文件名称: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)
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)
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.