neodatis.odb 第三篇 保存对象到文件的过程

保存对象的大致过程

odb.store(object) =>

LocalStrageEngine.internalStore(object)=>

FileSystemInterface.writeLong(long i, boolean writeInTransaction, String label, int writeActionType)
FileSystemInterface.writeString(String s, boolean writeInTransaction, int totalSpace)
……
=>

MultiBufferedIO.writeBytes(byte[] bytes, int startIndex, int endIndex)=>

MuliBufferedFileIO.internalWrite(byte[] bs, int size) =>

RandomAccessFile.write(byte b[], int off, int len)

你可能感兴趣的:(文件)