Table of Contents

Class FrameworkConstants

Namespace
DurableTask.Core
Assembly
DurableTask.Core.dll

Shared framework constants

public class FrameworkConstants
Inheritance
FrameworkConstants
Inherited Members

Constructors

FrameworkConstants()

public FrameworkConstants()

Fields

ActivityDefaultDispatcherCount

The default number of activity dispatchers

public const int ActivityDefaultDispatcherCount = 1

Field Value

int

ActivityDefaultMaxConcurrentItems

The default max concurrent activity work items

public const int ActivityDefaultMaxConcurrentItems = 10

Field Value

int

ActivityNonTransientErrorBackOffSecs

The default error back-off for non-transient errors task activities in seconds

public const int ActivityNonTransientErrorBackOffSecs = 120

Field Value

int

ActivityTransientErrorBackOffSecs

The default error back-off for transient errors task activities in seconds

public const int ActivityTransientErrorBackOffSecs = 10

Field Value

int

BatchFlushIntervalInMilliSecs

The default batch flush interval in milliseconds seconds

public const int BatchFlushIntervalInMilliSecs = 100

Field Value

int

CompressionTypeGzipPropertyValue

The property value for compression type gzip

public const string CompressionTypeGzipPropertyValue = "gzip"

Field Value

string

CompressionTypeNonePropertyValue

The property value for compression type none

public const string CompressionTypeNonePropertyValue = "none"

Field Value

string

CompressionTypePropertyName

The property name for compression type

public const string CompressionTypePropertyName = "CompressionType"

Field Value

string

FakeTimerIdToSplitDecision

Id for a fake timer event

public const int FakeTimerIdToSplitDecision = -100

Field Value

int

HistoryEventIndexPropertyName

The property name of a history event index

public const string HistoryEventIndexPropertyName = "HistoryEventIndex"

Field Value

string

JumpStartDefaultIgnoreWindow

The default timespan for the JumpStart ignore window

public static TimeSpan JumpStartDefaultIgnoreWindow

Field Value

TimeSpan

JumpStartDefaultInterval

The default timespan for the JumpStart interval

public static TimeSpan JumpStartDefaultInterval

Field Value

TimeSpan

MessageMaxSizeInBytesDefault

The default max allowed message size

public const int MessageMaxSizeInBytesDefault = 10485760

Field Value

int

MessageOverflowThresholdInBytesDefault

The default max message size before overflow

public const int MessageOverflowThresholdInBytesDefault = 174080

Field Value

int

OrchestrationDefaultDispatcherCount

The default number of orchestration dispatchers

public const int OrchestrationDefaultDispatcherCount = 1

Field Value

int

OrchestrationDefaultMaxConcurrentItems

The default max concurrent orchestration work items

public const int OrchestrationDefaultMaxConcurrentItems = 100

Field Value

int

OrchestrationNonTransientErrorBackOffSecs

The default error back-off for non-transient errors task orchestrations in seconds

public const int OrchestrationNonTransientErrorBackOffSecs = 120

Field Value

int

OrchestrationTransientErrorBackOffSecs

The default error back-off for transient errors task orchestrations in seconds

public const int OrchestrationTransientErrorBackOffSecs = 10

Field Value

int

SessionMaxSizeInBytesDefault

The default max allowed session size

public const int SessionMaxSizeInBytesDefault = 10485760

Field Value

int

SessionOverflowThresholdInBytesDefault

The default max session size before overflow

public const int SessionOverflowThresholdInBytesDefault = 235520

Field Value

int

StateMessageContentType

The content type of a State Message

public const string StateMessageContentType = "StateMessage"

Field Value

string

TaskMessageContentType

The content type of a Task Message

public const string TaskMessageContentType = "TaskMessage"

Field Value

string

TrackingDefaultDispatcherCount

The default number of tracking dispatchers

public const int TrackingDefaultDispatcherCount = 1

Field Value

int

TrackingDefaultMaxConcurrentItems

The default max concurrent tracking work items

public const int TrackingDefaultMaxConcurrentItems = 20

Field Value

int

TrackingNonTransientErrorBackOffSecs

The default error back-off for non-transient errors tracking activities in seconds

public const int TrackingNonTransientErrorBackOffSecs = 120

Field Value

int

TrackingTrackHistoryEvents

The default setting for enabling tracking history events

public const bool TrackingTrackHistoryEvents = true

Field Value

bool

TrackingTransientErrorBackOffSecs

The default error back-off for transient errors tracking activities in seconds

public const int TrackingTransientErrorBackOffSecs = 10

Field Value

int