Examples of finalizeBackend()


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

               DirectoryServer.getBackendInitializationListeners())
          {
            listener.performBackendFinalizationProcessing(backend);
          }

          backend.finalizeBackend();

          // Remove the shared lock for this backend.
          try
          {
            String lockFile = LockFileManager.getBackendLockFileName(backend);
View Full Code Here

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

    {
      registeredBackends.remove(backendDN);

      try
      {
        backend.finalizeBackend();
      }
      catch (Exception e)
      {
        if (debugEnabled())
        {
View Full Code Here

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

    for(int i = 0; i < super.NUMTESTENTRIES; i++) {
      super.cache.putEntry(super.testEntriesList.get(i), b, i);
    }

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

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

    // Get cachetest backend online again.
View Full Code Here

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

    // Finalize this cache so it can be reconfigured.
    super.cache.finalizeEntryCache();

    // Clean up.
    b.finalizeBackend();
    persistentCacheTeardown();
  }


View Full Code Here

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

    for(int i = 0; i < super.NUMTESTENTRIES; i++) {
      super.cache.putEntry(super.testEntriesList.get(i), b, i);
    }

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

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

    // Get cachetest backend online again.
View Full Code Here

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

      "dn: o=cachetest",
      "objectClass: top",
      "objectClass: organization");

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

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

    // Initialize the cache again.
View Full Code Here

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

    // Finalize this cache so it can be reconfigured.
    super.cache.finalizeEntryCache();

    // Clean up.
    b.finalizeBackend();
    persistentCacheTeardown();
  }
}
View Full Code Here

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

      // We need it to be recreated and reregistered
      MemoryBackend memoryBackend =
        (MemoryBackend) DirectoryServer.getBackend(TEST_BACKEND_ID);
      if (memoryBackend != null)
      {
        memoryBackend.finalizeBackend();
        DirectoryServer.deregisterBackend(memoryBackend);
      }

      EmbeddedUtils.restartServer(null, null, DirectoryServer.getEnvironmentConfig());
      initializeTestBackend(true);
View Full Code Here

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

  private static void removeTestBackend2(Backend backend)
  {
    MemoryBackend memoryBackend = (MemoryBackend)backend;
    memoryBackend.clearMemoryBackend();
    memoryBackend.finalizeBackend();
    DirectoryServer.deregisterBackend(memoryBackend);
  }

  //=======================================================
  private void ChangeTimeHeartbeatTest()
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.