Show / Hide Table of Contents

Interface ConfigFile.IBatchServiceConfiguration

Configuration values for the Windows batch task service (SoBatchService) Created in Database scope

Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public interface ConfigFile.IBatchServiceConfiguration

Properties

CPUThreshold

CPU Threshold value in percentage. This value is used to check the computer's cpu load when spawning a new task. If the total cpu usage is above this value, no more tasks will be started even though max tasks has not been reached.

Declaration
int CPUThreshold { get; set; }
Property Value
Type Description
int

DiagnosticsWebUri

Returns the url that the machine should bind against when starting the http monitor utility that displays the current state and log in a browser.

Declaration
string DiagnosticsWebUri { get; set; }
Property Value
Type Description
string

ImpersonateReporterPlugin

Returns true/false if the batch service should impersonate the reporter executor with the document identity.

Declaration
bool ImpersonateReporterPlugin { get; set; }
Property Value
Type Description
bool

MaxTasks

Maximum number of tasks to spawn simultaneously.

Declaration
int MaxTasks { get; set; }
Property Value
Type Description
int

PollingInterval

Returns the number of seconds to sleep between each time the service checks for new tasks.

Declaration
int PollingInterval { get; set; }
Property Value
Type Description
int

ReporterPath

Returns the path to the reporter executer file. This can be left blank to try the default paths. If the batch service is located in the default location (same location as CRM.Web), there should be no need to change this value. Also note that CRM.Web has a similar field in it's configuration. This specific configuration field should only be used when CRM.Web and the Batch Service are located on different machines.

Declaration
string ReporterPath { get; set; }
Property Value
Type Description
string

RunTasksInProcess

Set this property to true if batch tasks should be run inprocess (as an asynchron operation) or if it should run under the batch service. Default value is false.

Declaration
bool RunTasksInProcess { get; set; }
Property Value
Type Description
bool

ServiceName

Returns the name of the service. This name is the one used to install the service under the service control manager in windows. If you want more than one of this service installed on the same machine, this setting must be unique for each service.

Declaration
string ServiceName { get; set; }
Property Value
Type Description
string

TaskTimeout

Returns the timeout in seconds for spawned tasks. -1 is infinity.

Declaration
int TaskTimeout { get; set; }
Property Value
Type Description
int

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top