| | |
| | | } |
| | | |
| | | this.count = new AtomicInteger(0); |
| | | this.config.addChangeListener(this); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * Close the VLV index. |
| | | * |
| | | * @throws DatabaseException if a JE database error occurs while |
| | | * closing the index. |
| | | */ |
| | | public void close() throws DatabaseException |
| | | { |
| | | super.close(); |
| | | this.config.removeChangeListener(this); |
| | | } |
| | | |
| | | /** |
| | | * Update the vlvIndex for a new entry. |
| | | * |
| | | * @param txn A database transaction, or null if none is required. |
| | |
| | | if(adminActionRequired) |
| | | { |
| | | trusted = false; |
| | | int msgID = MSGID_JEB_INDEX_ADD_REQUIRES_REBUILD; |
| | | String message = getMessage(msgID, name); |
| | | messages.add(message); |
| | | try |
| | | { |
| | | state.putIndexTrustState(null, this, false); |