| | |
| | | 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. |
| | | * |
| | |
| | | this.entryContainers = new ConcurrentHashMap<DN, EntryContainer>(); |
| | | this.backend = backend; |
| | | this.config = config; |
| | | this.compressedSchema = null; |
| | | |
| | | config.addJEChangeListener(this); |
| | | } |
| | |
| | | TRACER.debugInfo("Free memory in heap: %d bytes", heapFreeSize); |
| | | } |
| | | |
| | | compressedSchema = new JECompressedSchema(env); |
| | | openAndRegisterEntryContainers(config.getBackendBaseDN()); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 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. |
| | | * |
| | |
| | | } |
| | | } |
| | | |
| | | compressedSchema.close(); |
| | | |
| | | if (env != null) |
| | | { |
| | | env.close(); |