Package org.nasutekds.server.api

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


    {
      registeredBackends.remove(backendDN);

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

    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

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

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


View Full Code Here

    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

      "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

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

    // Clean up.
    b.finalizeBackend();
    persistentCacheTeardown();
  }
}
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.