mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
31.55.2007 8466db8c12700bbab0835f5f1bfa71762e34ba4d
opends/src/server/org/opends/server/backends/jeb/RootContainer.java
@@ -105,6 +105,13 @@
  private AtomicLong nextid = new AtomicLong(1);
  /**
   * The compressed schema manager for this backend.
   */
  private JECompressedSchema compressedSchema;
  /**
   * Creates a new RootContainer object. Each root container represents a JE
   * environment.
   *
@@ -119,6 +126,7 @@
    this.entryContainers = new ConcurrentHashMap<DN, EntryContainer>();
    this.backend = backend;
    this.config = config;
    this.compressedSchema = null;
    config.addJEChangeListener(this);
  }
@@ -217,6 +225,7 @@
      TRACER.debugInfo("Free memory in heap: %d bytes", heapFreeSize);
    }
    compressedSchema = new JECompressedSchema(env);
    openAndRegisterEntryContainers(config.getBackendBaseDN());
  }
@@ -322,6 +331,16 @@
  }
  /**
   * Retrieves the compressed schema manager for this backend.
   *
   * @return  The compressed schema manager for this backend.
   */
  public JECompressedSchema getCompressedSchema()
  {
    return compressedSchema;
  }
  /**
   * Get the DatabaseEnvironmentMonitor object for JE environment used by this
   * root container.
   *
@@ -493,6 +512,8 @@
      }
    }
    compressedSchema.close();
    if (env != null)
    {
      env.close();