| | |
| | | * attribute value is bigger then the previous key but smaller or equal |
| | | * to its own key. |
| | | */ |
| | | public class VLVIndex extends DatabaseContainer |
| | | class VLVIndex extends DatabaseContainer |
| | | implements ConfigurationChangeListener<BackendVLVIndexCfg> |
| | | { |
| | | private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); |
| | |
| | | * otherwise. |
| | | * @throws StorageRuntimeException If an error occurs in the JE database. |
| | | */ |
| | | public synchronized void setTrusted(WriteableStorage txn, boolean trusted) |
| | | synchronized void setTrusted(WriteableStorage txn, boolean trusted) |
| | | throws StorageRuntimeException |
| | | { |
| | | this.trusted = trusted; |
| | |
| | | * Return true iff this index is trusted. |
| | | * @return the trusted state of this index |
| | | */ |
| | | public boolean isTrusted() |
| | | boolean isTrusted() |
| | | { |
| | | return trusted; |
| | | } |
| | |
| | | * @return The encoded bytes. |
| | | * @throws DirectoryException If a Directory Server error occurs. |
| | | */ |
| | | ByteString encodeKey(long entryID, ByteString[] values, AttributeType[] types) |
| | | private ByteString encodeKey(long entryID, ByteString[] values, AttributeType[] types) |
| | | throws DirectoryException |
| | | { |
| | | try |