Package com.sleepycat.je.utilint

Examples of com.sleepycat.je.utilint.DbScavenger


  DbDump dumper = new DbDump();
  boolean listDbs = dumper.parseArgs(argv);
  if (dumper.doScavengerRun) {
      dumper.openEnv(false);
      dumper = new DbScavenger(dumper.env,
                                     dumper.outputFile,
                                     dumper.formatUsingPrintable,
                                     dumper.doAggressiveScavengerRun,
                                     dumper.verbose);
      ((DbScavenger) dumper).setDumpCorruptedBounds(true);
View Full Code Here


    private void dumpDbs(boolean printable, boolean aggressive)
  throws DatabaseException {

  try {
      DbScavenger scavenger =
                new DbScavenger(env, null, printable, aggressive,
                                false /* verbose */);
      scavenger.dump();
  } catch (IOException IOE) {
      throw new DatabaseException(IOE);
  }
    }
View Full Code Here

  DbDump dumper = new DbDump();
  boolean listDbs = dumper.parseArgs(argv);
  if (dumper.doScavengerRun) {
      dumper.openEnv(false);
      dumper = new DbScavenger(dumper.env,
                                     dumper.outputFile,
             dumper.outputDirectory,
                                     dumper.formatUsingPrintable,
                                     dumper.doAggressiveScavengerRun,
                                     dumper.verbose);
View Full Code Here

TOP

Related Classes of com.sleepycat.je.utilint.DbScavenger

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.