Dela via


KvsActorStateProvider Constructors

Definition

Overloads

KvsActorStateProvider()

Initializes a new instance of the KvsActorStateProvider class. Creates an instance of KvsActorStateProvider with default settings.

KvsActorStateProvider(Boolean, KeyValueStoreReplicaSettings)

Initializes a new instance of the KvsActorStateProvider class with specified settings.

KvsActorStateProvider(Boolean, Int32)

Initializes a new instance of the KvsActorStateProvider class with specified settings.

KvsActorStateProvider(ReplicatorSettings, LocalStoreSettings, KeyValueStoreReplicaSettings)

Initializes a new instance of the KvsActorStateProvider class with specified replicator and local key-value store settings.

KvsActorStateProvider()

Initializes a new instance of the KvsActorStateProvider class. Creates an instance of KvsActorStateProvider with default settings.

public KvsActorStateProvider ();
Public Sub New ()

Applies to

KvsActorStateProvider(Boolean, KeyValueStoreReplicaSettings)

Initializes a new instance of the KvsActorStateProvider class with specified settings.

public KvsActorStateProvider (bool enableIncrementalBackup, System.Fabric.KeyValueStoreReplicaSettings keyValueStoreReplicaSettings = default);
new Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider : bool * System.Fabric.KeyValueStoreReplicaSettings -> Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider
Public Sub New (enableIncrementalBackup As Boolean, Optional keyValueStoreReplicaSettings As KeyValueStoreReplicaSettings = Nothing)

Parameters

enableIncrementalBackup
Boolean

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

keyValueStoreReplicaSettings
KeyValueStoreReplicaSettings

Key value store settings.

Applies to

KvsActorStateProvider(Boolean, Int32)

Initializes a new instance of the KvsActorStateProvider class 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
Boolean

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

logTruncationIntervalInMinutes
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, KeyValueStoreReplicaSettings)

Initializes a new instance of the KvsActorStateProvider class with specified replicator and local key-value store settings.

public KvsActorStateProvider (System.Fabric.ReplicatorSettings replicatorSettings = default, System.Fabric.LocalStoreSettings localStoreSettings = default, System.Fabric.KeyValueStoreReplicaSettings keyValueStoreReplicaSettings = default);
new Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider : System.Fabric.ReplicatorSettings * System.Fabric.LocalStoreSettings * System.Fabric.KeyValueStoreReplicaSettings -> Microsoft.ServiceFabric.Actors.Runtime.KvsActorStateProvider
Public Sub New (Optional replicatorSettings As ReplicatorSettings = Nothing, Optional localStoreSettings As LocalStoreSettings = Nothing, Optional keyValueStoreReplicaSettings As KeyValueStoreReplicaSettings = Nothing)

Parameters

replicatorSettings
ReplicatorSettings

A ReplicatorSettings that describes replicator settings.

localStoreSettings
LocalStoreSettings

A LocalStoreSettings that describes local key value store settings.

keyValueStoreReplicaSettings
KeyValueStoreReplicaSettings

Key value store settings.

Applies to