Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GrainTimerCreationOptions.Interleave Property

Definition

Namespace:
Orleans.Runtime
Assembly:
Orleans.Core.Abstractions.dll
Package:
Microsoft.Orleans.Core.Abstractions v10.0.0
Package:
Microsoft.Orleans.Core.Abstractions v8.2.0
Package:
Microsoft.Orleans.Core.Abstractions v9.0.0
Package:
Microsoft.Orleans.Core.Abstractions v9.1.2

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a value indicating whether callbacks scheduled by this timer are allowed to interleave execution with other timers and grain calls. Defaults to false.

public bool Interleave { get; init; }
member this.Interleave : bool with get, set
Public Property Interleave As Boolean

Property Value

Remarks

If this value is false, the timer callback will be treated akin to a grain call. If the grain scheduling this timer is reentrant (i.e., it has the ReentrantAttribute attributed applied to its implementation class), the timer callback will be allowed to interleave with other grain calls and timers regardless of the value of this property. If this value is true, the timer callback will be allowed to interleave with other timers and grain calls.

Applies to