|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface DatabaseBuilder.MemDatabaseBuilder
In-Memory database specific builder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.clarkparsia.stardog.DatabaseBuilder |
|---|
DatabaseBuilder.DiskDatabaseBuilder, DatabaseBuilder.MemDatabaseBuilder |
| Method Summary | ||
|---|---|---|
DatabaseBuilder.MemDatabaseBuilder |
async()
If the database is persistent() this specifies that the persistence to disk should be done asynchronously. |
|
DatabaseBuilder.MemDatabaseBuilder |
durableTransactions(boolean theDurable)
Specify whether or not transactions for this database should be durable. |
|
DatabaseBuilder.MemDatabaseBuilder |
persistent()
Specify that this memory database should be persisted to disk when commits are successful. |
|
DatabaseBuilder.MemDatabaseBuilder |
reporter(PrintStream theStream)
Sets the output used to print information messages about |
|
DatabaseBuilder.MemDatabaseBuilder |
searchable(boolean theSearchable)
Specify whether or not the database created by this builder should be searchable via Waldo. |
|
|
set(ConfigProperty<V> theOption,
V theValue)
Set the given option on this builder |
|
DatabaseBuilder.MemDatabaseBuilder |
sync()
The opposite of the async() option, persistence of this database will be done inside a commit so that it if fails, the transaction will fail. |
|
| Methods inherited from interface com.clarkparsia.stardog.DatabaseBuilder |
|---|
create, create |
| Method Detail |
|---|
DatabaseBuilder.MemDatabaseBuilder sync()
async() option, persistence of this database will be done inside a commit so that it if fails, the transaction will fail. This is a safer,
but slower option for commit persistence in memory databases. This is the default value for memory database persistence.
DatabaseBuilder.MemDatabaseBuilder async()
persistent() this specifies that the persistence to disk should be done asynchronously. That is, it is done in a separate thread
from the transaction commit. This allows for faster commits since persistence does not take up time in the commit, but makes it possible that the data
could be lost or the files on disk corrupted if the transaction fails.
DatabaseBuilder.MemDatabaseBuilder persistent()
DatabaseBuilder.MemDatabaseBuilder durableTransactions(boolean theDurable)
DatabaseBuilder
durableTransactions in interface DatabaseBuildertheDurable - true for durable transactions, false otherwise.
DatabaseBuilder.MemDatabaseBuilder reporter(PrintStream theStream)
DatabaseBuilderoutput used to print information messages about
reporter in interface DatabaseBuildertheStream - the output stream to use
DatabaseBuilder.MemDatabaseBuilder searchable(boolean theSearchable)
DatabaseBuilder
searchable in interface DatabaseBuildertheSearchable - true to be searchable, false otherwise
<V> DatabaseBuilder.MemDatabaseBuilder set(ConfigProperty<V> theOption,
V theValue)
DatabaseBuilder
set in interface DatabaseBuilderV - the option typetheOption - the option to settheValue - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||