Class LmdbStoreConfig

    • Field Detail

      • TRIPLE_DB_SIZE

        public static final long TRIPLE_DB_SIZE
        The default size of the triple database.
        See Also:
        Constant Field Values
      • VALUE_DB_SIZE

        public static final long VALUE_DB_SIZE
        The default size of the value database.
        See Also:
        Constant Field Values
      • VALUE_CACHE_SIZE

        public static final int VALUE_CACHE_SIZE
        The default value cache size.
        See Also:
        Constant Field Values
      • VALUE_ID_CACHE_SIZE

        public static final int VALUE_ID_CACHE_SIZE
        The default value id cache size.
        See Also:
        Constant Field Values
      • NAMESPACE_CACHE_SIZE

        public static final int NAMESPACE_CACHE_SIZE
        The default namespace cache size.
        See Also:
        Constant Field Values
      • NAMESPACE_ID_CACHE_SIZE

        public static final int NAMESPACE_ID_CACHE_SIZE
        The default namespace id cache size.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LmdbStoreConfig

        public LmdbStoreConfig()
      • LmdbStoreConfig

        public LmdbStoreConfig​(String tripleIndexes)
      • LmdbStoreConfig

        public LmdbStoreConfig​(String tripleIndexes,
                               boolean forceSync)
    • Method Detail

      • getTripleIndexes

        public String getTripleIndexes()
      • setTripleDBSize

        public LmdbStoreConfig setTripleDBSize​(long tripleDBSize)
      • getTripleDBSize

        public long getTripleDBSize()
      • setValueDBSize

        public LmdbStoreConfig setValueDBSize​(long valueDBSize)
      • getValueDBSize

        public long getValueDBSize()
      • getForceSync

        public boolean getForceSync()
      • setForceSync

        public LmdbStoreConfig setForceSync​(boolean forceSync)
        Flag indicating whether updates should be synced to disk forcefully. This may have a severe impact on write performance. By default, this feature is disabled.
      • getValueCacheSize

        public int getValueCacheSize()
      • setValueCacheSize

        public LmdbStoreConfig setValueCacheSize​(int valueCacheSize)
      • getValueIDCacheSize

        public int getValueIDCacheSize()
      • setValueIDCacheSize

        public LmdbStoreConfig setValueIDCacheSize​(int valueIDCacheSize)
      • getNamespaceCacheSize

        public int getNamespaceCacheSize()
      • setNamespaceCacheSize

        public LmdbStoreConfig setNamespaceCacheSize​(int namespaceCacheSize)
      • getNamespaceIDCacheSize

        public int getNamespaceIDCacheSize()
      • setNamespaceIDCacheSize

        public LmdbStoreConfig setNamespaceIDCacheSize​(int namespaceIDCacheSize)
      • getAutoGrow

        public boolean getAutoGrow()