|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.DatabaseConfig
public class DatabaseConfig
Javadoc for this public class is generated via the doc templates in the doc_src directory.
Field Summary | |
---|---|
static DatabaseConfig |
DEFAULT
|
Constructor Summary | |
---|---|
DatabaseConfig()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
Method Summary | |
---|---|
DatabaseConfig |
cloneConfig()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getAllowCreate()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
java.util.Comparator |
getBtreeComparator()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getBtreeComparatorByClassName()
|
boolean |
getDeferredWrite()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
java.util.Comparator |
getDuplicateComparator()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getDuplicateComparatorByClassName()
|
boolean |
getExclusiveCreate()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
int |
getNodeMaxDupTreeEntries()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
int |
getNodeMaxEntries()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getOverrideBtreeComparator()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getOverrideDuplicateComparator()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getReadOnly()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getSortedDuplicates()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
boolean |
getTransactional()
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) boolean |
getUseExistingConfig()
For utilities, to avoid having to know the configuration of a database. |
void |
setAllowCreate(boolean allowCreate)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setBtreeComparator(java.lang.Class btreeComparator)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setBtreeComparator(java.util.Comparator btreeComparator)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) void |
setBtreeComparatorInternal(java.util.Comparator comparator,
boolean byClassName)
Used to set the comparator when filling in a configuration from an existing database. |
void |
setDeferredWrite(boolean deferredWrite)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setDuplicateComparator(java.lang.Class duplicateComparator)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setDuplicateComparator(java.util.Comparator duplicateComparator)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) void |
setDuplicateComparatorInternal(java.util.Comparator comparator,
boolean byClassName)
Used to set the comparator when filling in a configuration from an existing database. |
void |
setExclusiveCreate(boolean exclusiveCreate)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setNodeMaxDupTreeEntries(int nodeMaxDupTreeEntries)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setNodeMaxEntries(int nodeMaxEntries)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setOverrideBtreeComparator(boolean override)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setOverrideDuplicateComparator(boolean override)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setReadOnly(boolean readOnly)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setSortedDuplicates(boolean duplicatesAllowed)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
void |
setTransactional(boolean transactional)
Javadoc for this public method is generated via the doc templates in the doc_src directory. |
(package private) void |
setUseExistingConfig(boolean useExistingConfig)
For utilities, to avoid having to know the configuration of a database. |
(package private) void |
validate(DatabaseConfig config)
|
(package private) void |
validateForNewDb()
Check that this database configuration is valid for a new, non-existant database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DatabaseConfig DEFAULT
Constructor Detail |
---|
public DatabaseConfig()
Method Detail |
---|
public void setAllowCreate(boolean allowCreate)
public boolean getAllowCreate()
public void setExclusiveCreate(boolean exclusiveCreate)
public boolean getExclusiveCreate()
public void setSortedDuplicates(boolean duplicatesAllowed)
public boolean getSortedDuplicates()
public void setTransactional(boolean transactional)
public boolean getTransactional()
public void setReadOnly(boolean readOnly)
public boolean getReadOnly()
public void setNodeMaxEntries(int nodeMaxEntries)
public void setNodeMaxDupTreeEntries(int nodeMaxDupTreeEntries)
public int getNodeMaxEntries()
public int getNodeMaxDupTreeEntries()
public void setBtreeComparator(java.util.Comparator btreeComparator)
public void setBtreeComparator(java.lang.Class btreeComparator)
public java.util.Comparator getBtreeComparator()
public boolean getBtreeComparatorByClassName()
public void setOverrideBtreeComparator(boolean override)
public boolean getOverrideBtreeComparator()
public void setDuplicateComparator(java.util.Comparator duplicateComparator)
public void setDuplicateComparator(java.lang.Class duplicateComparator)
public java.util.Comparator getDuplicateComparator()
public boolean getDuplicateComparatorByClassName()
public void setOverrideDuplicateComparator(boolean override)
public boolean getOverrideDuplicateComparator()
public void setDeferredWrite(boolean deferredWrite)
public boolean getDeferredWrite()
void setBtreeComparatorInternal(java.util.Comparator comparator, boolean byClassName)
void setDuplicateComparatorInternal(java.util.Comparator comparator, boolean byClassName)
void setUseExistingConfig(boolean useExistingConfig)
boolean getUseExistingConfig()
public DatabaseConfig cloneConfig()
void validate(DatabaseConfig config) throws DatabaseException
DatabaseException
void validateForNewDb() throws DatabaseException
DatabaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |