Examples of OFile


Examples of com.orientechnologies.orient.core.storage.fs.OFile

  public int deleteRecord(final long iPosition) throws IOException {
    acquireExclusiveLock();
    try {

      final long[] pos = getRelativePosition(iPosition);
      final OFile file = files[(int) pos[0]];

      final int recordSize = file.readInt(pos[1]);
      handleHole(iPosition, recordSize);
      return recordSize;

    } finally {
      releaseExclusiveLock();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.