Interface PersistenceEngine.PersistenceFactory
- All Known Implementing Classes:
DummyPersistence.Factory
,ProtonEngine.Factory
- Enclosing class:
- PersistenceEngine
public static interface PersistenceEngine.PersistenceFactory
Creates a config producer for the engines provider at a given node.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DeployState deployState, StorageNode storageNode, StorageGroup parentGroup, ModelElement storageNodeElement) boolean
Multi level splitting can increase split performance a lot where documents have been co-localized, for backends where retrieving document identifiers contained in bucket is cheap.boolean
If a write request succeeds on some nodes and fails on others, causing request to fail to client, the content layer will revert the operation where it succeeded if reverts are supported.
-
Method Details
-
create
PersistenceEngine create(DeployState deployState, StorageNode storageNode, StorageGroup parentGroup, ModelElement storageNodeElement) -
supportRevert
boolean supportRevert()If a write request succeeds on some nodes and fails on others, causing request to fail to client, the content layer will revert the operation where it succeeded if reverts are supported. (Typically require backend to keep multiple entries of the same document identifier persisted at the same time) -
enableMultiLevelSplitting
boolean enableMultiLevelSplitting()Multi level splitting can increase split performance a lot where documents have been co-localized, for backends where retrieving document identifiers contained in bucket is cheap. Backends where split is cheaper than fetching document identifiers will not want to enable multi level splitting. -
getDefaultDistributionMode
ContentCluster.DistributionMode getDefaultDistributionMode()
-