Class LmdbStoreConfig
java.lang.Object
org.eclipse.rdf4j.sail.config.AbstractSailImplConfig
org.eclipse.rdf4j.sail.base.config.BaseSailConfig
org.eclipse.rdf4j.sail.lmdb.config.LmdbStoreConfig
- All Implemented Interfaces:
SailImplConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The default namespace cache size.static final int
The default namespace id cache size.static final long
The default size of the triple database.static final int
The default value cache size.static final long
The default size of the value database.static final int
The default value id cache size. -
Constructor Summary
ConstructorDescriptionLmdbStoreConfig
(String tripleIndexes) LmdbStoreConfig
(String tripleIndexes, boolean forceSync) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
int
long
int
long
int
void
setAutoGrow
(boolean autoGrow) setForceSync
(boolean forceSync) Flag indicating whether updates should be synced to disk forcefully.setNamespaceCacheSize
(int namespaceCacheSize) setNamespaceIDCacheSize
(int namespaceIDCacheSize) setTripleDBSize
(long tripleDBSize) setTripleIndexes
(String tripleIndexes) setValueCacheSize
(int valueCacheSize) setValueDBSize
(long valueDBSize) setValueIDCacheSize
(int valueIDCacheSize) Methods inherited from class org.eclipse.rdf4j.sail.base.config.BaseSailConfig
getEvaluationStrategyFactory, getEvaluationStrategyFactoryClassName, setEvaluationStrategyFactoryClassName
Methods inherited from class org.eclipse.rdf4j.sail.config.AbstractSailImplConfig
getConnectionTimeOut, getIterationCacheSyncThreshold, getType, setConnectionTimeOut, setIterationCacheSyncThreshold, setType, validate
-
Field Details
-
TRIPLE_DB_SIZE
public static final long TRIPLE_DB_SIZEThe default size of the triple database.- See Also:
-
VALUE_DB_SIZE
public static final long VALUE_DB_SIZEThe default size of the value database.- See Also:
-
VALUE_CACHE_SIZE
public static final int VALUE_CACHE_SIZEThe default value cache size.- See Also:
-
VALUE_ID_CACHE_SIZE
public static final int VALUE_ID_CACHE_SIZEThe default value id cache size.- See Also:
-
NAMESPACE_CACHE_SIZE
public static final int NAMESPACE_CACHE_SIZEThe default namespace cache size.- See Also:
-
NAMESPACE_ID_CACHE_SIZE
public static final int NAMESPACE_ID_CACHE_SIZEThe default namespace id cache size.- See Also:
-
-
Constructor Details
-
LmdbStoreConfig
public LmdbStoreConfig() -
LmdbStoreConfig
-
LmdbStoreConfig
-
-
Method Details
-
getTripleIndexes
-
setTripleIndexes
-
setTripleDBSize
-
getTripleDBSize
public long getTripleDBSize() -
setValueDBSize
-
getValueDBSize
public long getValueDBSize() -
getForceSync
public boolean getForceSync() -
setForceSync
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
-
getValueIDCacheSize
public int getValueIDCacheSize() -
setValueIDCacheSize
-
getNamespaceCacheSize
public int getNamespaceCacheSize() -
setNamespaceCacheSize
-
getNamespaceIDCacheSize
public int getNamespaceIDCacheSize() -
setNamespaceIDCacheSize
-
getAutoGrow
public boolean getAutoGrow() -
setAutoGrow
-
export
- Specified by:
export
in interfaceSailImplConfig
- Overrides:
export
in classBaseSailConfig
-
parse
- Specified by:
parse
in interfaceSailImplConfig
- Overrides:
parse
in classBaseSailConfig
- Throws:
SailConfigException
-