다음을 통해 공유


IRedisCachePremium.ForceReboot(String, Int32) Method

Definition

Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.

public void ForceReboot (string rebootType, int shardId);
abstract member ForceReboot : string * int -> unit
Public Sub ForceReboot (rebootType As String, shardId As Integer)

Parameters

rebootType
String

Specifies which Redis node(s) to reboot. Depending on this value data loss is possible. Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes'.

shardId
Int32

In case of cluster cache, this specifies shard id which should be rebooted.

Applies to