JOAFIP(javadataobjectpersistenceinfile)使得你可以使用文件系统来保存数据对象,而不是数据库。
主要特点:
easytouseguaranteesallACIDpropertiesobjectoriented,writeyourmodel,storeit.Donotneedquerylanguage,justenavigateinyourmodel.multidataaccesssession(multi-Thread,transactionaldatastore)save allobjectsofobjectgraphstartingfromarootobjecttofilesystem,oneheapfilerecordbyobjectinstancelazyloadingofobject:makeabletonotwastememorywithlargeobjectgraphwhenonlyneedtoaccesstosomeofthem.managemoreobjectthanmemorycancontainsaboutproxyforlazyloadmanageenumstatepersistencecrashsafe,mayacceptJVMstopatanytimeevenifwriteinfile(onlythelastcommitislost)filecorruptiondetectiongarbagecollectorforfiledatarecordthatwillneverbeaccessedTheobject thatcanbepersitedarePOJOthatnotneedstoimplementSerializable,butthereissome conditionsPossibilitytostoreserializationof instanceofclassinonedatarecord.canbecomprerssedornot
评论