Show / Hide Table of Contents

Class ConfigurationOptions

Exposes a set of configuration options for query engines.

Inheritance
System.Object
ConfigurationOptions
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public sealed class ConfigurationOptions : Object

Properties

CheckpointDegreeOfParallelism

Gets or sets the degree of parallelism for checkpointing operations.

Declaration
public int CheckpointDegreeOfParallelism { get; set; }
Property Value
Type Description
System.Int32

DumpRecoveryStateBlobs

Gets or sets the flag enabling persistence of recovery state blobs which can be used to debug recovery issues. See DumpRecoveryStatePath to configure the path to write the blobs to.

Declaration
public bool DumpRecoveryStateBlobs { get; set; }
Property Value
Type Description
System.Boolean

DumpRecoveryStatePath

Gets or sets the path where recovery state dumps are written to. This setting only takes effect if DumpRecoveryStateBlobs is set to true.

Declaration
public string DumpRecoveryStatePath { get; set; }
Property Value
Type Description
System.String

ExpressionPolicy

Gets the expression options for the query engine, including options related to caching of compiled delegates for evaluation and caching of expressions for compact storage in memory.

Declaration
public ExpressionPolicy ExpressionPolicy { get; }
Property Value
Type Description
ExpressionPolicy

ForeignFunctionBinder

Gets the foreign function binder used to resolve foreign functions during expression binding.

Declaration
public Func<string, Expression> ForeignFunctionBinder { get; set; }
Property Value
Type Description
System.Func<System.String, System.Linq.Expressions.Expression>

GarbageCollectionEnabled

Gets or sets the flag enabling garbage collection of orphaned artifacts. This flag does not enable sweeping by default. See GarbageCollectionSweepEnabled to configure sweeping of orphaned artifacts.

Declaration
public bool GarbageCollectionEnabled { get; set; }
Property Value
Type Description
System.Boolean

GarbageCollectionSweepBudgetPerCheckpoint

Gets or sets the maximum number of sweep (delete) operations the garbage collector is allowed to commit per checkpoint. For this flag to take effect, garbage collection and sweeping have to be enabled. See GarbageCollectionEnabled to turn on the garbage collector. See GarbageCollectionSweepEnabled to turn on sweeping.

Declaration
public int GarbageCollectionSweepBudgetPerCheckpoint { get; set; }
Property Value
Type Description
System.Int32

GarbageCollectionSweepEnabled

Gets or sets the flag enabling garbage collection of orphaned artifacts by undefining these during the sweep phase. For this flag to take effect, garbage collection has to be enabled. See GarbageCollectionEnabled to turn on the garbage collector.

Declaration
public bool GarbageCollectionSweepEnabled { get; set; }
Property Value
Type Description
System.Boolean

RecoveryDegreeOfParallelism

Gets or sets the degree of parallelism for recovery operations.

Declaration
public int RecoveryDegreeOfParallelism { get; set; }
Property Value
Type Description
System.Int32

TemplatizeExpressions

Gets or sets the flag enabling templatization of expressions. By templatizing expressions, checkpoint and recovery state can be significantly reduced if many expressions have the same shape.

Declaration
public bool TemplatizeExpressions { get; set; }
Property Value
Type Description
System.Boolean

TemplatizeRecoveredEntitiesQuota

Gets or sets the maximum number of entities that will be migrated to templatized form in a single checkpoint. If not set, the default value is 0.

Declaration
public int TemplatizeRecoveredEntitiesQuota { get; set; }
Property Value
Type Description
System.Int32

TemplatizeRecoveredEntitiesRegex

Gets or sets the regular expression applied to the entity key to determine if the entity should be migrated to templatized form. If not set, all entities can be migrated.

Declaration
public string TemplatizeRecoveredEntitiesRegex { get; set; }
Property Value
Type Description
System.String

Methods

Clear()

Clears the configuration options set

Declaration
public void Clear()
In This Article
Back to top Generated by DocFX