Class MetaRegistryOptions
- Namespace
- Datafication.Server.Core.Configuration
- Assembly
- Datafication.Server.Core.dll
Configuration options for the meta DataBlock registry.
public class MetaRegistryOptions
- Inheritance
-
objectMetaRegistryOptions
Properties
BackgroundMaintenanceEnabled
Gets or sets whether background maintenance is enabled. When true, maintenance operations run automatically in the background.
public bool BackgroundMaintenanceEnabled { get; set; }
Property Value
- bool
CacheEvictionTime
Gets or sets the time after which cached DataBlocks are evicted.
public TimeSpan CacheEvictionTime { get; set; }
Property Value
- TimeSpan
CacheKeyPrefix
Gets or sets the cache key prefix for registry entries.
public string CacheKeyPrefix { get; set; }
Property Value
- string
CompressSerializedData
Gets or sets whether to compress serialized DataBlock data. Reduces storage size but increases CPU usage.
public bool CompressSerializedData { get; set; }
Property Value
- bool
CompressionLevel
Gets or sets the compression level for serialized data.
public CompressionLevel CompressionLevel { get; set; }
Property Value
- CompressionLevel
EnableCaching
Gets or sets whether caching of DataBlocks is enabled. When true, accessed DataBlocks are cached using the configured IDataCache.
public bool EnableCaching { get; set; }
Property Value
- bool
EnableDetailedLogging
Gets or sets whether to enable detailed logging for registry operations.
public bool EnableDetailedLogging { get; set; }
Property Value
- bool
EnableLazyLoading
Gets or sets whether lazy loading of DataBlocks is enabled. When true, DataBlocks are loaded from storage only when accessed.
public bool EnableLazyLoading { get; set; }
Property Value
- bool
MaintenanceInterval
Gets or sets the interval for automatic maintenance operations.
public TimeSpan MaintenanceInterval { get; set; }
Property Value
- TimeSpan
MaxCacheSize
Gets or sets the maximum number of DataBlocks to keep in cache.
public int MaxCacheSize { get; set; }
Property Value
- int
MaxDataBlockAge
Gets or sets the maximum age for DataBlocks before they're considered for cleanup.
public TimeSpan MaxDataBlockAge { get; set; }
Property Value
- TimeSpan