|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.backends.jeb.DatabaseContainer
org.opends.server.backends.jeb.State
public class State
This class is responsible for storing the configuration state of the JE backend for a particular suffix.
| Field Summary |
|---|
| Fields inherited from class org.opends.server.backends.jeb.DatabaseContainer |
|---|
dbConfig, entryContainer, name |
| Method Summary | |
|---|---|
boolean |
getIndexTrustState(com.sleepycat.je.Transaction txn,
Index index)
Fetch index state from the database. |
boolean |
getIndexTrustState(com.sleepycat.je.Transaction txn,
VLVIndex vlvIndex)
Fetch index state from the database. |
boolean |
putIndexTrustState(com.sleepycat.je.Transaction txn,
Index index,
boolean trusted)
Put index state to database. |
boolean |
putIndexTrustState(com.sleepycat.je.Transaction txn,
VLVIndex vlvIndex,
boolean trusted)
Put VLV index state to database. |
boolean |
removeIndexTrustState(com.sleepycat.je.Transaction txn,
Index index)
Remove a record from the entry database. |
| Methods inherited from class org.opends.server.backends.jeb.DatabaseContainer |
|---|
delete, getName, getRecordCount, insert, open, openCursor, preload, put, read, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean removeIndexTrustState(com.sleepycat.je.Transaction txn,
Index index)
throws com.sleepycat.je.DatabaseException
txn - The database transaction or null if none.index - The index storing the trusted state info.
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
public boolean getIndexTrustState(com.sleepycat.je.Transaction txn,
Index index)
throws com.sleepycat.je.DatabaseException
txn - The database transaction or null if none.index - The index storing the trusted state info.
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
public boolean getIndexTrustState(com.sleepycat.je.Transaction txn,
VLVIndex vlvIndex)
throws com.sleepycat.je.DatabaseException
txn - The database transaction or null if none.vlvIndex - The index storing the trusted state info.
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
public boolean putIndexTrustState(com.sleepycat.je.Transaction txn,
Index index,
boolean trusted)
throws com.sleepycat.je.DatabaseException
txn - The database transaction or null if none.index - The index storing the trusted state info.trusted - The state value to put into the database.
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
public boolean putIndexTrustState(com.sleepycat.je.Transaction txn,
VLVIndex vlvIndex,
boolean trusted)
throws com.sleepycat.je.DatabaseException
txn - The database transaction or null if none.vlvIndex - The VLV index storing the trusted state info.trusted - The state value to put into the database.
com.sleepycat.je.DatabaseException - If an error occurs in the JE database.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||