| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.backends.pluggable; |
| | | |
| | |
| | | * the same transaction. The transaction may be null if it is known |
| | | * that there are no other concurrent updates to the index. |
| | | */ |
| | | public class IndexBuffer |
| | | class IndexBuffer |
| | | { |
| | | private final EntryContainer entryContainer; |
| | | |
| | |
| | | * @param entryContainer The database entryContainer using this |
| | | * index buffer. |
| | | */ |
| | | public IndexBuffer(EntryContainer entryContainer) |
| | | IndexBuffer(EntryContainer entryContainer) |
| | | { |
| | | this.entryContainer = entryContainer; |
| | | } |
| | |
| | | * @throws StorageRuntimeException If an error occurs in the JE database. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | */ |
| | | public void flush(WriteableStorage txn) throws StorageRuntimeException, DirectoryException |
| | | void flush(WriteableStorage txn) throws StorageRuntimeException, DirectoryException |
| | | { |
| | | /* |
| | | * FIXME: this seems like a surprising way to update the indexes. Why not |