Package | Description |
---|---|
org.h2.mvstore |
A persistent storage for tree maps.
|
Modifier and Type | Method and Description |
---|---|
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(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(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(String s)
Read the configuration from a string.
|
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.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.