JOAFIPJava对象持久化框架

联合创作 · 2023-09-30 03:55

JOAFIP (java data object persistence in file ) 使得你可以使用文件系统来保存数据对象,而不是数据库。

主要特点:

  • easy to use
  • guarantees all ACID properties
  • object oriented, write your model, store it. Do not need query language, juste navigate in your model.
  • multi data access session ( multi-Thread, transactional data store )
  • save all objects of object graph starting from a root object to file system, one heap file record by object instance
  • lazy loading of object:
    • make able to not waste memory with large object graph when only need to access to some of them.
    • manage more object than memory can contains
  • manage enum state persistence
  • crash safe, may accept JVM stop at any time even if write in file ( only the last commit is lost)
  • file corruption detection
  • garbage collector for file data record that will never be accessed
  • The object that can be persited are POJO that not needs to implement Serializable, but there is some conditions
  • Possibility to store serialization of  instance of class in one data record. can be comprerssed or not
浏览 1
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报