Package net.sf.joafip.btreeplus.entity

Examples of net.sf.joafip.btreeplus.entity.IntegrityCheckResult


  @SuppressWarnings("PMD")
  @Override
  protected void consistencyCheck() throws HeapException,
      FilePersistenceException {
    final IntegrityCheckResult result = BtreePlusDataMgrIntegrityChecker
        .getInstance().checkIntegrity(getDataManager(),
            new DataRecordIdentifier(-1),
            new DataRecordIdentifier(Long.MAX_VALUE));
    System.out.println("depth " + result.getDepth());
    System.out.println("entriesCount " + result.getEntriesCount());
    System.out.println("leafPageCount " + result.getLeafPageCount());
    System.out.println("nonTerminalPageCount "
        + result.getNonTerminalPageCount());
  }
View Full Code Here


  @SuppressWarnings("PMD")
  @Override
  protected void consistencyCheck() throws HeapException,
      FilePersistenceException {
    final IntegrityCheckResult result = BtreePlusDataMgrIntegrityChecker
        .getInstance().checkIntegrity(getDataManager(),
            new DataRecordIdentifier(-1),
            new DataRecordIdentifier(Long.MAX_VALUE));
    System.out.println("depth " + result.getDepth());
    System.out.println("entriesCount " + result.getEntriesCount());
    System.out.println("leafPageCount " + result.getLeafPageCount());
    System.out.println("nonTerminalPageCount "
        + result.getNonTerminalPageCount());
  }
View Full Code Here

    }
    if (currentLeafPagePosition != -1L) {
      throw new HeapException("bad current leaf page position");
    }
    // System.out.println("--- end ---");
    return new IntegrityCheckResult(depth, entriesCount, leafPageCount,
        nonTerminalPageCount);
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.btreeplus.entity.IntegrityCheckResult

Copyright © 2018 www.massapicom. 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.