public class CollectionPropertiesOptions extends Object
Constructor and Description |
---|
CollectionPropertiesOptions() |
Modifier and Type | Method and Description |
---|---|
Long |
getJournalSize() |
Boolean |
getWaitForSync() |
CollectionPropertiesOptions |
journalSize(Long journalSize) |
CollectionPropertiesOptions |
waitForSync(Boolean waitForSync) |
public Boolean getWaitForSync()
public CollectionPropertiesOptions waitForSync(Boolean waitForSync)
waitForSync
- If true then creating or changing a document will wait until the data has been synchronized to disk.public Long getJournalSize()
public CollectionPropertiesOptions journalSize(Long journalSize)
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.Copyright © 2016–2018 ArangoDB GmbH. All rights reserved.