ActorConcurrencySettings Class

Definition

Provides the settings to configure the turn based concurrency lock for actors. See https://docs.microsoft.com/azure/service-fabric/service-fabric-reliable-actors-introduction for a description of concurrency in actors.

public sealed class ActorConcurrencySettings
type ActorConcurrencySettings = class
Public NotInheritable Class ActorConcurrencySettings
Inheritance
ActorConcurrencySettings

Constructors

ActorConcurrencySettings()

Initializes a new instance of the ActorConcurrencySettings class.

By default the ReentrancyMode is LogicalCallContext with a LockTimeout of 60 seconds

Properties

LockTimeout

Gets or sets the timeout for the turn based concurrency lock. If the runtime cannot acquire the lock to dispatch the method call, it will throw the ActorConcurrencyLockTimeoutException exception. This exception will unwind the logical call chain and the call will retried up to a configured maximum amount of times.

ReentrancyMode

Gets or sets Reentrancy mode for actor method calls.

Applies to