public class DN2URI extends DatabaseContainer
The key is the DN of the referral entry and the value is that of a pair (labeled URI in the ref attribute for that entry, DN). The DN must be duplicated in the value because the key is suitable for comparisons but is not reversible to a valid DN. Duplicate keys are permitted since a referral entry can contain multiple values of the ref attribute. Key order is the same as in the DN database so that all referrals in a subtree can be retrieved by cursoring through a range of the records.
dbConfig, entryContainer, name
Modifier and Type | Method and Description |
---|---|
boolean |
addEntry(com.sleepycat.je.Transaction txn,
Entry entry)
Update the referral database for a new entry.
|
void |
replaceEntry(com.sleepycat.je.Transaction txn,
Entry before,
Entry after)
Update the referral database for an entry that has been replaced.
|
close, getName, getRecordCount, open, openCursor, openCursor, preload, toString
public void replaceEntry(com.sleepycat.je.Transaction txn, Entry before, Entry after) throws com.sleepycat.je.DatabaseException
txn
- A database transaction used for the update, or null if none is
required.before
- The entry before it was replaced.after
- The entry after it was replaced.com.sleepycat.je.DatabaseException
- If an error occurs in the JE database.public boolean addEntry(com.sleepycat.je.Transaction txn, Entry entry) throws com.sleepycat.je.DatabaseException
txn
- A database transaction used for the update, or null if none is
required.entry
- The entry to be added.com.sleepycat.je.DatabaseException
- If an error occurs in the JE database.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.