|
Berkeley DB version 6.1.19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.db.DatabaseStreamConfig
public class DatabaseStreamConfig
Specify the attributes of database stream. An instance created with the default constructor is initialized with the system's default settings.
Field Summary | |
---|---|
static DatabaseStreamConfig |
DEFAULT
Default configuration used if null is passed to methods that create a database stream. |
Constructor Summary | |
---|---|
DatabaseStreamConfig()
|
Method Summary | |
---|---|
boolean |
getReadOnly()
Return true if the database stream is read only. |
boolean |
getSyncPerWrite()
Return if the database stream is configured to sync the blob on each write. |
void |
setReadOnly(boolean readOnly)
Configure the database stream as read only. |
void |
setSyncPerWrite(boolean syncPerWrite)
Configure the database stream to sync the blob on each write. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DatabaseStreamConfig DEFAULT
Constructor Detail |
---|
public DatabaseStreamConfig()
Method Detail |
---|
public void setReadOnly(boolean readOnly)
readOnly
- If true, configure the database stream to read only.public boolean getReadOnly()
public void setSyncPerWrite(boolean syncPerWrite)
syncPerWrite
- If true, configure the database stream to sync the blob on
each write.public boolean getSyncPerWrite()
|
Berkeley DB version 6.1.19 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |