예제 #1
0
파일: Page.java 프로젝트: code4/ProjectPika
 public void commitChanges(WriteAheadLog wal) throws IOException {
   if (!dirty) {
     return;
   }
   for (PageDiff diff : diffList) {
     wal.addPageDiff(getId(), diff);
   }
   wal.addMetaData(getId(), getNextPageId(), getCurrentFill());
 }