Examples of initializeBackend()


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

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

    // 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

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

    // 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

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

    // 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

Examples of org.nasutekds.server.backends.MemoryBackend.initializeBackend()

    if (memoryBackend == null)
    {
      memoryBackend = new MemoryBackend();
      memoryBackend.setBackendID(backendID);
      memoryBackend.setBaseDNs(new DN[] {baseDN});
      memoryBackend.initializeBackend();
      DirectoryServer.registerBackend(memoryBackend);
    }

    memoryBackend.clearMemoryBackend();
View Full Code Here

Examples of org.nasutekds.server.backends.MemoryBackend.initializeBackend()

    if (memoryBackend == null)
    {
      memoryBackend = new MemoryBackend();
      memoryBackend.setBackendID(backendId);
      memoryBackend.setBaseDNs(new DN[] {baseDN});
      memoryBackend.initializeBackend();
      DirectoryServer.registerBackend(memoryBackend);
    }

    memoryBackend.clearMemoryBackend();
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.