PersistStoreSettings

Represents the settings passed to the function OpenPersistStore which is used to create or open a persistent store


struct PersistStoreSettings
{
    ConstStringZ deltasDirPath;
    LssSettings lssSettings;
    ClassNameTranslationTable* translationTable;
    bool startObjectDeletion;
};


ConstStringZ deltasDirPath

The deltasDirPath passed to the LSS in the call to CreateOrOpenLSS().

Default value : nullptr


LssSettings lssSettings

The LssSettings used to initialise the associated Log Structured Store (LSS).


ClassNameTranslationTable* translationTable

If not null then the given ClassNameTranslationTable provides a set of pairs of strings to allow class name translation, which can be needed when fully qualified class names are changed, given that the fully quanlified class names are \ used to identify the types of objects in the PersistStore.

Default value : nullptr


bool startObjectDeletion

If false then the store is opened without the lazy object deleter running. This can be required if it avoids ReflectedClassNotFoundException exceptions cause by attempts to delete objects of classes for which the relevant library hasn't been loaded into the process.

After loading the appropriate libraries the lazy object deleter can be started manually by calling StartObjectDeletion() on the PersistStore.

Default value : true