Package com.c8db.model
Class CollectionPropertiesOptions
- java.lang.Object
-
- com.c8db.model.CollectionPropertiesOptions
-
public class CollectionPropertiesOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description CollectionPropertiesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetJournalSize()BooleangetWaitForSync()CollectionPropertiesOptionsjournalSize(Long journalSize)CollectionPropertiesOptionswaitForSync(Boolean waitForSync)
-
-
-
Method Detail
-
getWaitForSync
public Boolean getWaitForSync()
-
waitForSync
public CollectionPropertiesOptions waitForSync(Boolean waitForSync)
- Parameters:
waitForSync- If true then creating or changing a document will wait until the data has been synchronized to disk.- Returns:
- options
-
getJournalSize
public Long getJournalSize()
-
journalSize
public CollectionPropertiesOptions journalSize(Long journalSize)
- Parameters:
journalSize- The maximal size of a journal or datafile in bytes. The value must be at least 1048576 (1 MB). Note that when changing the journalSize value, it will only have an effect for additional journals or datafiles that are created. Already existing journals or datafiles will not be affected.- Returns:
- options
-
-