docs: private void processDataFile() {
  
          // OOo related code
          if (database.isStoredFileAccess()) {
              return;
          }
  
          // OOo end
          if (cache == null || filesReadOnly
                  || !fa.isStreamElement(logFileName)) {
              return;
          }
  
          File file       = new File(logFileName);
          long logLength  = file.length();
          long dataLength = cache.getFileFreePos();
  
          if (logLength + dataLength > cache.maxDataFileSize) {
              database.logger.needsCheckpoint = true;
          }
      }