Aracılığıyla paylaş


ChaosParameters Constructors

Definition

Overloads

ChaosParameters()

Initializes a new instance of the ChaosParameters class.

ChaosParameters(Int64, Nullable<TimeSpan>)

Initializes a new instance of the ChaosParameters class.

ChaosParameters(TimeSpan, Int64, Boolean, Nullable<TimeSpan>)

Initializes a new instance of the ChaosParameters class.

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>)

Initializes a new instance of the ChaosParameters class.

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>, TimeSpan, TimeSpan)

Initializes a new instance of the ChaosParameters class.

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>, TimeSpan, TimeSpan, ClusterHealthPolicy)

Initializes a new instance of the ChaosParameters class.

ChaosParameters()

Initializes a new instance of the ChaosParameters class.

public ChaosParameters ();
Public Sub New ()

Applies to

ChaosParameters(Int64, Nullable<TimeSpan>)

Initializes a new instance of the ChaosParameters class.

public ChaosParameters (long maxConcurrentFaults, TimeSpan? timeToRun = default);
new System.Fabric.Chaos.DataStructures.ChaosParameters : int64 * Nullable<TimeSpan> -> System.Fabric.Chaos.DataStructures.ChaosParameters
Public Sub New (maxConcurrentFaults As Long, Optional timeToRun As Nullable(Of TimeSpan) = Nothing)

Parameters

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

timeToRun
Nullable<TimeSpan>

Total time Chaos should run; maximum allowed value is TimeSpan.FromSeconds(uint.MaxValue)

Applies to

ChaosParameters(TimeSpan, Int64, Boolean, Nullable<TimeSpan>)

Initializes a new instance of the ChaosParameters class.

public ChaosParameters (TimeSpan maxClusterStabilizationTimeout, long maxConcurrentFaults, bool enableMoveReplicaFaults, TimeSpan? timeToRun = default);
new System.Fabric.Chaos.DataStructures.ChaosParameters : TimeSpan * int64 * bool * Nullable<TimeSpan> -> System.Fabric.Chaos.DataStructures.ChaosParameters
Public Sub New (maxClusterStabilizationTimeout As TimeSpan, maxConcurrentFaults As Long, enableMoveReplicaFaults As Boolean, Optional timeToRun As Nullable(Of TimeSpan) = Nothing)

Parameters

maxClusterStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the entire cluster to stabilize after a fault iteration; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

enableMoveReplicaFaults
Boolean

Enables or disables the MovePrimary, MoveSecondary, MoveInstance, and MoveAuxiliary faults.

timeToRun
Nullable<TimeSpan>

Total time Chaos should run; maximum allowed value is TimeSpan.FromSeconds(uint.MaxValue)

Applies to

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>)

Initializes a new instance of the ChaosParameters class.

public ChaosParameters (TimeSpan maxClusterStabilizationTimeout, long maxConcurrentFaults, bool enableMoveReplicaFaults, TimeSpan timeToRun, System.Collections.Generic.Dictionary<string,string> context);
new System.Fabric.Chaos.DataStructures.ChaosParameters : TimeSpan * int64 * bool * TimeSpan * System.Collections.Generic.Dictionary<string, string> -> System.Fabric.Chaos.DataStructures.ChaosParameters
Public Sub New (maxClusterStabilizationTimeout As TimeSpan, maxConcurrentFaults As Long, enableMoveReplicaFaults As Boolean, timeToRun As TimeSpan, context As Dictionary(Of String, String))

Parameters

maxClusterStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the entire cluster to stabilize after a fault iteration; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

enableMoveReplicaFaults
Boolean

Enables or disables the MovePrimary, MoveSecondary, MoveInstance, and MoveAuxiliary faults.

timeToRun
TimeSpan

After running for this much time, Chaos will stop; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

context
Dictionary<String,String>

This is a bag of (key, value) pairs. This can be used to record detailed context about why Chaos is being started for example.

Applies to

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>, TimeSpan, TimeSpan)

Initializes a new instance of the ChaosParameters class.

public ChaosParameters (TimeSpan maxClusterStabilizationTimeout, long maxConcurrentFaults, bool enableMoveReplicaFaults, TimeSpan timeToRun, System.Collections.Generic.Dictionary<string,string> context, TimeSpan waitTimeBetweenIterations, TimeSpan waitTimeBetweenFaults);
new System.Fabric.Chaos.DataStructures.ChaosParameters : TimeSpan * int64 * bool * TimeSpan * System.Collections.Generic.Dictionary<string, string> * TimeSpan * TimeSpan -> System.Fabric.Chaos.DataStructures.ChaosParameters
Public Sub New (maxClusterStabilizationTimeout As TimeSpan, maxConcurrentFaults As Long, enableMoveReplicaFaults As Boolean, timeToRun As TimeSpan, context As Dictionary(Of String, String), waitTimeBetweenIterations As TimeSpan, waitTimeBetweenFaults As TimeSpan)

Parameters

maxClusterStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the entire cluster to stabilize after a fault iteration; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

enableMoveReplicaFaults
Boolean

Enables or disables the MovePrimary, MoveSecondary, MoveInstance, and MoveAuxiliary faults.

timeToRun
TimeSpan

After running for this much time, Chaos will stop; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

context
Dictionary<String,String>

This is a bag of (key, value) pairs. This can be used to record detailed context about why Chaos is being started for example.

waitTimeBetweenIterations
TimeSpan

This is the amount of pause between two consecutive iterations of fault inducing. The more the pause, the less is the rate of faults over time; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

waitTimeBetweenFaults
TimeSpan

This is the amount of pause between two consecutive faults in a single iteration -- the more the pause, the less the concurrency of faults; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

Applies to

ChaosParameters(TimeSpan, Int64, Boolean, TimeSpan, Dictionary<String,String>, TimeSpan, TimeSpan, ClusterHealthPolicy)

Initializes a new instance of the ChaosParameters class.

public ChaosParameters (TimeSpan maxClusterStabilizationTimeout, long maxConcurrentFaults, bool enableMoveReplicaFaults, TimeSpan timeToRun, System.Collections.Generic.Dictionary<string,string> context, TimeSpan waitTimeBetweenIterations, TimeSpan waitTimeBetweenFaults, System.Fabric.Health.ClusterHealthPolicy clusterHealthPolicy);
new System.Fabric.Chaos.DataStructures.ChaosParameters : TimeSpan * int64 * bool * TimeSpan * System.Collections.Generic.Dictionary<string, string> * TimeSpan * TimeSpan * System.Fabric.Health.ClusterHealthPolicy -> System.Fabric.Chaos.DataStructures.ChaosParameters
Public Sub New (maxClusterStabilizationTimeout As TimeSpan, maxConcurrentFaults As Long, enableMoveReplicaFaults As Boolean, timeToRun As TimeSpan, context As Dictionary(Of String, String), waitTimeBetweenIterations As TimeSpan, waitTimeBetweenFaults As TimeSpan, clusterHealthPolicy As ClusterHealthPolicy)

Parameters

maxClusterStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the entire cluster to stabilize after a fault iteration; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

enableMoveReplicaFaults
Boolean

Enables or disables the MovePrimary, MoveSecondary, MoveInstance, and MoveAuxiliary faults.

timeToRun
TimeSpan

After running for this much time, Chaos will stop; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

context
Dictionary<String,String>

This is a bag of (key, value) pairs. This can be used to record detailed context about why Chaos is being started for example.

waitTimeBetweenIterations
TimeSpan

This is the amount of pause between two consecutive iterations of fault inducing. The more the pause, the less is the rate of faults over time; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

waitTimeBetweenFaults
TimeSpan

This is the amount of pause between two consecutive faults in a single iteration -- the more the pause, the less the concurrency of faults; cannot exceed TimeSpan.FromSeconds(uint.MaxValue)

clusterHealthPolicy
ClusterHealthPolicy

The cluster health policy that determines how healthy a cluster must be in order for Chaos to go on inducing faults.

Applies to