Class DatabaseServerMessengerOptions
Provides options to the DatabaseServerMessenger.
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public class DatabaseServerMessengerOptions
Constructors
DatabaseServerMessengerOptions()
Initializes a new instance of the DatabaseServerMessengerOptions with default values.
Declaration
public DatabaseServerMessengerOptions()
Properties
DaysToRetainInstructions
The number of days to keep instructions in the database; records older than this number will be pruned.
Declaration
public int DaysToRetainInstructions { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
InitializingCallbacks
A list of callbacks that will be invoked if the lastsynced.txt file does not exist.
Declaration
public IEnumerable<Action> InitializingCallbacks { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Action> |
Remarks
These callbacks will typically be for eg rebuilding the xml cache file, or examine indexes, based on the data in the database to get this particular server node up to date.
MaxProcessingInstructionCount
The maximum number of instructions that can be processed at startup; otherwise the server cold-boots (rebuilds its caches).
Declaration
public int MaxProcessingInstructionCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PruneThrottleSeconds
The number of seconds to wait between each prune operations.
Declaration
public int PruneThrottleSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ThrottleSeconds
The number of seconds to wait between each sync operations.
Declaration
public int ThrottleSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |