XML Configuration Reference : Index : DocumentCacheConfig
 
DocumentCacheConfig
com.exalead.mercury.mami.deploy.v10.DocumentCacheConfig
Configuration for the document cache.
Parent elements:
com.exalead.mercury.mami.deploy.v10.BuildGroupConfig (as BuildGroupConfig)
Attributes:
Name
Type
Default value
Description
path
string
Location of the document cache on the filesystem. Unless otherwise specified, the document cache is located in the "cache" subdirectory of the build group.
compactArity
int
4
Number of consecutive slots to trigger a compact.
nbBloomBitsPerElement
int
10
Number of bits per element in the document cache StrBTree bloom filter.
nbElementsInLeaf
int
20
Number of entries in each of the document cache StrBTree leaves.
readMode
enum(auto, direct, mmap, mmap_mlock, mmap_mload, pagecache, random, sequential)
auto
Read mode of the document cache StrBTree, except for enumeration. Value can be null or one of
auto
direct
mmap
mmap_mlock
mmap_mload
pagecache
random
sequential
enumMode
enum(auto, direct, mmap, mmap_mlock, mmap_mload, pagecache, random, sequential)
auto
Read mode of the document cache StrBTree, for enumeration. Value can be null or one of
auto
direct
mmap
mmap_mlock
mmap_mload
pagecache
random
sequential
compactMode
enum(auto, direct, mmap, mmap_mlock, mmap_mload, pagecache, random, sequential)
auto
Read mode of the document cache StrBTree, for compact. Value can be null or one of
auto
direct
mmap
mmap_mlock
mmap_mload
pagecache
random
sequential
diskCompressionAlgorithm
enum(none, fastlz, gzip, lcs, lz4)
fastlz
Algorithm to compress the document cache on disk. Value can be null or one of
none
fastlz
gzip
lcs
lz4
temporaryFilesCompressionAlgorithm
enum(none, fastlz, gzip, lz4)
fastlz
Algorithm to compress the temporary files on disk. Value can be null or one of
none
fastlz
gzip
lz4