|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MasterTable<ID,E>
A master table used to store indexable entries.
| Field Summary | |
|---|---|
static String |
DBF
the base name for the db file for this table |
static String |
SEQPROP_KEY
the sequence key - stores last sequence value in the admin table |
| Method Summary | |
|---|---|
ID |
getNextId(E entry)
Gets the next value from the sequence of this MasterTable. |
void |
resetCounter()
Resets the root ID to 0, this method should be called after deleting the context entry of the partition |
| Methods inherited from interface org.apache.directory.server.xdbm.Table |
|---|
close, count, count, cursor, cursor, get, getKeyComparator, getName, getValueComparator, greaterThanCount, has, has, hasGreaterOrEqual, hasGreaterOrEqual, hasLessOrEqual, hasLessOrEqual, isDupsEnabled, lessThanCount, put, remove, remove, valueCursor |
| Field Detail |
|---|
static final String DBF
static final String SEQPROP_KEY
| Method Detail |
|---|
ID getNextId(E entry)
throws Exception
entry - the entry in case the id is derived from the entry.
Exception - on failure to update the id sequence
void resetCounter()
throws Exception
Exception - in case of any failure while resetting the root id value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||