Enum ObjectPersistence
Denotes modes of object persistence
Namespace: Azos.Pile
Assembly: Azos.dll
Syntax
public enum ObjectPersistence
Fields
Name | Description |
---|---|
Disk | The data is kept on disk. The data is in object-upgreadable format (support changes of object structure) |
Memory | 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 |
MemoryDisk | 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) |
UpgreadableMemory | 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 |