Class LmdbStoreConfig

All Implemented Interfaces:
SailImplConfig

public class LmdbStoreConfig extends BaseSailConfig
  • Field Details

    • 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 Details

    • LmdbStoreConfig

      public LmdbStoreConfig()
    • LmdbStoreConfig

      public LmdbStoreConfig(String tripleIndexes)
    • LmdbStoreConfig

      public LmdbStoreConfig(String tripleIndexes, boolean forceSync)
  • Method Details

    • getTripleIndexes

      public String getTripleIndexes()
    • setTripleIndexes

      public LmdbStoreConfig setTripleIndexes(String tripleIndexes)
    • 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)
    • export

      public Resource export(Model m)
      Specified by:
      export in interface SailImplConfig
      Overrides:
      export in class BaseSailConfig
    • parse

      public void parse(Model m, Resource implNode) throws SailConfigException
      Specified by:
      parse in interface SailImplConfig
      Overrides:
      parse in class BaseSailConfig
      Throws:
      SailConfigException