多进程互斥写sqlite

上传者: xinwang24 | 上传时间: 2021-08-11 17:31:53 | 文件大小: 1.28MB | 文件类型: RAR
多进程互斥写sqlite。关键代码在com.lockSqlite包里面。

文件下载

资源详情

[{"title":"( 63 个子文件 1.28MB ) 多进程互斥写sqlite","children":[{"title":"Test","children":[{"title":".project <span style='color:#111;'> 380B </span>","children":null,"spread":false},{"title":"logs","children":[{"title":"log <span style='color:#111;'> 414.39KB </span>","children":null,"spread":false},{"title":"log2012-03-01.log <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"Semaphore","children":[{"title":"Task1.java <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"Task2.java <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"Mutex.java <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"Task.java <span style='color:#111;'> 718B </span>","children":null,"spread":false},{"title":"TestMain2.java <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"TestMain1.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Task3.java <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true},{"title":"fileLock","children":[{"title":"FilePorgramLock.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"TestMain.java <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"Lock.java <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"MakeLock.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"fileLock2","children":[{"title":"TestMain2.java <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"TestMain1.java <span style='color:#111;'> 565B </span>","children":null,"spread":false}],"spread":true},{"title":"test1","children":[{"title":"Test.java <span style='color:#111;'> 298B </span>","children":null,"spread":false}],"spread":true},{"title":"lock1","children":[{"title":"Rource.java <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"lockSqlite","children":[{"title":"Entity.java <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"Reader.java <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"DB.java <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"Constants.java <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"TestMain2.java <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"TestMain1.java <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"Putter.java <span style='color:#111;'> 608B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 629B </span>","children":null,"spread":false}],"spread":true},{"title":"hiepDB-journal <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"log4j-1.2.16.jar <span style='color:#111;'> 470.25KB </span>","children":null,"spread":false},{"title":"sqlitejdbc-v033-nested.jar <span style='color:#111;'> 856.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"hiepDB <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"file.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"Semaphore","children":[{"title":"TestMain1.class <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"TestMain1$2.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"TestMain1$1.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"TestMain2.class <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"TestMain2$2.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"Task2.class <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"TestMain1$3.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"Task.class <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"TestMain2$1.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"Mutex.class <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"Task1.class <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"TestMain2$3.class <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"Task3.class <span style='color:#111;'> 730B </span>","children":null,"spread":false}],"spread":false},{"title":"fileLock","children":[{"title":"TestMain.class <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"FilePorgramLock.class <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"MakeLock.class <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"Lock.class <span style='color:#111;'> 196B </span>","children":null,"spread":false}],"spread":true},{"title":"fileLock2","children":[{"title":"TestMain1.class <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"TestMain2.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"test1","children":[{"title":"Test.class <span style='color:#111;'> 794B </span>","children":null,"spread":false}],"spread":false},{"title":"lock1","children":[{"title":"Rource.class <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"Rource$2.class <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"Rource$3.class <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"Rource$1.class <span style='color:#111;'> 558B </span>","children":null,"spread":false}],"spread":false},{"title":"lockSqlite","children":[{"title":"TestMain1.class <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"Putter.class <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"TestMain2.class <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"DB.class <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"Entity.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Constants.class <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"Reader.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • ostterm56 :
    挺好用的呢
    2017-09-19
  • ma_anjun :
    有用,我刚好用上了。
    2016-09-12
  • frank529 :
    对我挺有帮助,谢谢分享
    2015-10-14
  • zsm180 :
    感觉适用于多线程,不使用多进程,同步锁只能在多线程使用。
    2014-12-25
  • you_guess_me :
    还行 勉强可以使用
    2014-08-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明