Package org.nasutekds.server.api

Examples of org.nasutekds.server.api.Backend.initializeBackend()


          }
          backend.setBackendID(backendID);
          backend.setWritabilityMode(WritabilityMode.INTERNAL_ONLY);
          try {
            backend.configureBackend(backendCfg);
            backend.initializeBackend();
          } catch (Exception e) {
            if (debugEnabled())
            {
              TRACER.debugCaught(DebugLogLevel.ERROR, e);
            }
View Full Code Here


    // Finalize and persist this cache.
    super.cache.finalizeEntryCache();

    // Get cachetest backend online again.
    b.initializeBackend();

    // Initialize the cache again.
    super.cache = new FileSystemEntryCache();
    super.cache.initializeEntryCache(configuration);
View Full Code Here

    // Finalize and persist this cache.
    super.cache.finalizeEntryCache();

    // Get cachetest backend online again.
    b.initializeBackend();

    // Add dummy entry to cachetest backend to trigger inconsistent
    // offline state with persistent entry cache.
    TestCaseUtils.addEntry(
      "dn: o=cachetest",
View Full Code Here

    // Should trigger backend checksum.
    b.finalizeBackend();

    // Get cachetest backend online again, now modified.
    b.initializeBackend();

    // Initialize the cache again.
    super.cache = new FileSystemEntryCache();
    super.cache.initializeEntryCache(configuration);
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.