MVStore.Builder |
MVStore.Builder.autoCommitBufferSize(int kb) |
Set the size of the write buffer, in KB disk space (for file-based
stores).
|
MVStore.Builder |
MVStore.Builder.autoCommitDisabled() |
Disable auto-commit, by setting the auto-commit delay and auto-commit
buffer size to 0.
|
MVStore.Builder |
MVStore.Builder.autoCompactFillRate(int percent) |
Set the auto-compact target fill rate.
|
MVStore.Builder |
MVStore.Builder.backgroundExceptionHandler(java.lang.Thread.UncaughtExceptionHandler exceptionHandler) |
Set the listener to be used for exceptions that occur when writing in
the background thread.
|
MVStore.Builder |
MVStore.Builder.cacheConcurrency(int concurrency) |
Set the read cache concurrency.
|
MVStore.Builder |
MVStore.Builder.cacheSize(int mb) |
Set the read cache size in MB.
|
MVStore.Builder |
MVStore.Builder.compress() |
Compress data before writing using the LZF algorithm.
|
MVStore.Builder |
MVStore.Builder.compressHigh() |
Compress data before writing using the Deflate algorithm.
|
MVStore.Builder |
MVStore.Builder.encryptionKey(char[] password) |
Encrypt / decrypt the file using the given password.
|
MVStore.Builder |
MVStore.Builder.fileName(java.lang.String fileName) |
Use the following file name.
|
MVStore.Builder |
MVStore.Builder.fileStore(FileStore store) |
Use the provided file store instead of the default one.
|
static MVStore.Builder |
MVStore.Builder.fromString(java.lang.String s) |
Read the configuration from a string.
|
MVStore.Builder |
MVStore.Builder.keysPerPage(int keyCount) |
Set the number of keys per page.
|
MVStore.Builder |
MVStore.Builder.pageSplitSize(int pageSplitSize) |
Set the amount of memory a page should contain at most, in bytes,
before it is split.
|
MVStore.Builder |
MVStore.Builder.readOnly() |
Open the file in read-only mode.
|
MVStore.Builder |
MVStore.Builder.recoveryMode() |
Open the file in recovery mode, where some errors may be ignored.
|
private MVStore.Builder |
MVStore.Builder.set(java.lang.String key,
java.lang.Object value) |
|