Beispiel #1
0
 private static OMMapBufferEntry mapBuffer(
     final OFileMMap iFile, final long iBeginOffset, final int iSize) throws IOException {
   long timer = OProfiler.getInstance().startChrono();
   try {
     return new OMMapBufferEntry(iFile, iFile.map(iBeginOffset, iSize), iBeginOffset, iSize);
   } finally {
     OProfiler.getInstance().stopChrono("OMMapManager.loadPage", timer);
   }
 }