KvsActorStateProvider Constructors

Definition

Overloads

KvsActorStateProvider()

Creates an instance of KvsActorStateProvider with default settings.

KvsActorStateProvider(Boolean)

Creates an instance of KvsActorStateProvider with specified settings.

KvsActorStateProvider(Boolean, Int32)

Creates an instance of KvsActorStateProvider with specified settings.

KvsActorStateProvider(ReplicatorSettings, LocalStoreSettings)

Creates an instance of KvsActorStateProvider with specified replicator and local key-value store settings.

KvsActorStateProvider()

Creates an instance of KvsActorStateProvider with default settings.

public KvsActorStateProvider ();
Public Sub New ()

Applies to

KvsActorStateProvider(Boolean)

Creates an instance of KvsActorStateProvider with specified settings.

public KvsActorStateProvider (bool enableIncrementalBackup);
new Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider : bool -> Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider
Public Sub New (enableIncrementalBackup As Boolean)

Parameters

enableIncrementalBackup
System.Boolean

Indicates whether to enable incremental backup feature. This sets the EnableIncrementalBackup setting.

Applies to

KvsActorStateProvider(Boolean, Int32)

Creates an instance of KvsActorStateProvider with specified settings.

public KvsActorStateProvider (bool enableIncrementalBackup, int logTruncationIntervalInMinutes);
new Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider : bool * int -> Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider
Public Sub New (enableIncrementalBackup As Boolean, logTruncationIntervalInMinutes As Integer)

Parameters

enableIncrementalBackup
System.Boolean

Indicates whether to enable incremental backup feature. This sets the EnableIncrementalBackup setting.

logTruncationIntervalInMinutes
System.Int32

Indicates the interval after which KeyValueStoreReplica tries to truncate local store logs.

Remarks

When an incremental backup is enabled for KeyValueStoreReplica, it does not use circular buffer to manage its transaction logs and periodically truncates the logs both on primary and secondary replica(s). The process of taking backup(s) automatically truncates logs. On the primary replica, if no user backup is initiated for logTruncationIntervalInMinutes, KeyValueStoreReplica automatically truncates the logs.

Applies to

KvsActorStateProvider(ReplicatorSettings, LocalStoreSettings)

Creates an instance of KvsActorStateProvider with specified replicator and local key-value store settings.

public KvsActorStateProvider (System.Fabric.ReplicatorSettings replicatorSettings = null, System.Fabric.LocalStoreSettings localStoreSettings = null);
new Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider : System.Fabric.ReplicatorSettings * System.Fabric.LocalStoreSettings -> Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider

Parameters

replicatorSettings
ReplicatorSettings

A ReplicatorSettings that describes replicator settings.

localStoreSettings
LocalStoreSettings

A LocalStoreSettings that describes local key value store settings.

Applies to