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 int
The default namespace cache size.static int
The default namespace id cache size.static long
The default size of the triple database.static int
The default value cache size.static long
The default size of the value database.static int
The default value id cache size. -
Constructor Summary
ConstructorDescriptionLmdbStoreConfig(String tripleIndexes)
LmdbStoreConfig(String tripleIndexes, boolean forceSync)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
long
int
long
int
void
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:
- Constant Field Values
-
VALUE_DB_SIZE
public static final long VALUE_DB_SIZEThe default size of the value database.- See Also:
- Constant Field Values
-
VALUE_CACHE_SIZE
public static final int VALUE_CACHE_SIZEThe default value cache size.- See Also:
- Constant Field Values
-
VALUE_ID_CACHE_SIZE
public static final int VALUE_ID_CACHE_SIZEThe default value id cache size.- See Also:
- Constant Field Values
-
NAMESPACE_CACHE_SIZE
public static final int NAMESPACE_CACHE_SIZEThe default namespace cache size.- See Also:
- Constant Field Values
-
NAMESPACE_ID_CACHE_SIZE
public static final int NAMESPACE_ID_CACHE_SIZEThe default namespace id cache size.- See Also:
- Constant Field Values
-
-
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
-
export
- Specified by:
export
in interfaceSailImplConfig
- Overrides:
export
in classBaseSailConfig
-
parse
- Specified by:
parse
in interfaceSailImplConfig
- Overrides:
parse
in classBaseSailConfig
- Throws:
SailConfigException
-