public class JdbmMasterTable extends JdbmTable<String,org.apache.directory.api.ldap.model.entry.Entry> implements org.apache.directory.server.xdbm.MasterTable
| Modifier and Type | Field and Description |
|---|---|
protected JdbmTable<String,String> |
adminTbl |
| Modifier | Constructor and Description |
|---|---|
|
JdbmMasterTable(jdbm.RecordManager recMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates the master table using JDBM B+Trees for the backing store.
|
protected |
JdbmMasterTable(jdbm.RecordManager recMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager,
String dbName,
jdbm.helper.Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNextId(org.apache.directory.api.ldap.model.entry.Entry entry)
Get's the next value from this SequenceBDb.
|
void |
resetCounter() |
close, count, cursor, cursor, get, getKeySerializer, getMarshaller, getValueSerializer, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, sync, valueCursorcount, getKeyComparator, getName, getValueComparator, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, count, count, cursor, cursor, get, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, valueCursorpublic JdbmMasterTable(jdbm.RecordManager recMan,
org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
throws Exception
recMan - the JDBM record managerschemaManager - the schema managerException - if there is an error opening the Db file.public String getNextId(org.apache.directory.api.ldap.model.entry.Entry entry) throws Exception
getNextId in interface org.apache.directory.server.xdbm.MasterTableException - if the admin table storing sequences cannot be
read and written to.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.