public static class BdbModule.BdbConfig extends Object implements Serializable
DatabaseConfig
is not serializable. Also it prevents invalid
configurations. (All databases opened through this module must be
deferred-write, because otherwise they can't sync(), and you can't
run a checkpoint without doing sync() first.)Modifier and Type | Field and Description |
---|---|
protected boolean |
allowCreate |
protected boolean |
deferredWrite |
protected boolean |
sortedDuplicates |
protected boolean |
transactional |
Constructor and Description |
---|
BdbModule.BdbConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
getSortedDuplicates() |
boolean |
isAllowCreate() |
boolean |
isTransactional() |
void |
setAllowCreate(boolean allowCreate) |
void |
setDeferredWrite(boolean b) |
void |
setSortedDuplicates(boolean sortedDuplicates) |
void |
setTransactional(boolean transactional) |
com.sleepycat.je.DatabaseConfig |
toDatabaseConfig() |
protected boolean allowCreate
protected boolean sortedDuplicates
protected boolean transactional
protected boolean deferredWrite
public boolean isAllowCreate()
public void setAllowCreate(boolean allowCreate)
public boolean getSortedDuplicates()
public void setSortedDuplicates(boolean sortedDuplicates)
public com.sleepycat.je.DatabaseConfig toDatabaseConfig()
public boolean isTransactional()
public void setTransactional(boolean transactional)
public void setDeferredWrite(boolean b)
Copyright © 2003-2014 Internet Archive. All Rights Reserved.