| | |
| | | * with the entries database. |
| | | */ |
| | | private boolean trusted; |
| | | /** A flag to indicate if a rebuild process is running on this vlvIndex. */ |
| | | private boolean rebuildRunning; |
| | | |
| | | /** The VLV vlvIndex configuration. */ |
| | | private LocalDBVLVIndexCfg config; |
| | |
| | | StringBuilder debugBuilder) |
| | | throws DirectoryException, DatabaseException |
| | | { |
| | | if (!trusted || rebuildRunning |
| | | if (!trusted |
| | | || !searchOperation.getBaseDN().equals(baseDN) |
| | | || !searchOperation.getScope().equals(scope) |
| | | || !searchOperation.getFilter().equals(filter) |
| | |
| | | } |
| | | |
| | | /** |
| | | * Set the rebuild status of this vlvIndex. |
| | | * @param rebuildRunning True if a rebuild process on this vlvIndex |
| | | * is running or False otherwise. |
| | | */ |
| | | public synchronized void setRebuildStatus(boolean rebuildRunning) |
| | | { |
| | | this.rebuildRunning = rebuildRunning; |
| | | } |
| | | |
| | | /** |
| | | * Gets the values to sort on from the entry. |
| | | * |
| | | * @param entry The entry to get the values from. |