示例#1
0
 public boolean flushSome(int maxPages) {
   myFile.flushSomePages(maxPages);
   if (!myFile.isDirty()) {
     force();
     return true;
   }
   return false;
 }
示例#2
0
 public boolean isDirty() {
   return myIsDirty || myFile.isDirty();
 }