ObjectPersistence EnumerationNFX Class Library

[This is preliminary documentation and is subject to change.]

Denotes modes of object persistence

Namespace: NFX.ApplicationModel.Pile
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public enum ObjectPersistence
Members

  Member nameValueDescription
Memory0 The data is kept in memory in a format that prohibits the preservation of data between object layout changes, for example, the Slim serializer does not support versioning, hence this mode is beneficial for maximum performance of local in-process heaps
UpgreadableMemory1 The data is kept in memory in a format that allows to change the object structure (serialization versioning), i.e. a distributed node may keep objects usable even after client's software changes
Disk2 The data is kept on disk. The data is in object-upgreadable format (support changes of object structure)
MemoryDisk3 The data is kept on disk and cached in memory (i.e. memory-mapped file). The data is in object-upgreadable format (support changes of object structure)
See Also