Package com.db4o.config

Examples of com.db4o.config.Configuration.callbacks()


//      }
//    });
//    config.messageLevel(3);

    config.automaticShutDown(false);
  config.callbacks(false);
    config.activationDepth(2);
    config.flushFileBuffers(false);
    config.callConstructors(true);
    config.exceptionsOnNotStorable(true);
    configureAbstractEntity(config);
View Full Code Here


    fireDatabaseEvent(new DatabaseEvent(fObjectContainer, fLock), true);
  }

  private void configure() {
    Configuration globalConfig = Db4o.configure();
    globalConfig.callbacks(false);
//    globalConfig.blockSize(8);
//    globalConfig.bTreeCacheHeight(0);
//    globalConfig.bTreeNodeSize(100);
//    globalConfig.diagnostic().addListener(new DiagnosticListener() {
//      public void onDiagnostic(Diagnostic d) {
View Full Code Here

    });

    config.lockDatabaseFile(false);
    config.queries().evaluationMode(forDefrag ? QueryEvaluationMode.LAZY : QueryEvaluationMode.IMMEDIATE);
    config.automaticShutDown(false);
    config.callbacks(false);
    config.activationDepth(2);
    config.callConstructors(true);
    config.exceptionsOnNotStorable(true);
    configureAbstractEntity(config);
    config.objectClass(BookMark.class).objectField("fFeedLink").indexed(true); //$NON-NLS-1$
View Full Code Here

    });

    config.lockDatabaseFile(true);
    config.queries().evaluationMode(forDefrag ? QueryEvaluationMode.LAZY : QueryEvaluationMode.IMMEDIATE);
    config.automaticShutDown(false);
    config.callbacks(false);
    config.activationDepth(2);
    config.flushFileBuffers(false);
    config.callConstructors(true);
    config.exceptionsOnNotStorable(true);
    configureAbstractEntity(config);
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.