ข้ามไปยังเนื้อหา

Class BehaviorExecutionResilienceOverrideSettings

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes one named behavior-execution resilience override configured for a subset of behaviors or transports.

public sealed class BehaviorExecutionResilienceOverrideSettings

objectBehaviorExecutionResilienceOverrideSettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

BehaviorExecutionResilienceOverrideSettings(string, IReadOnlyList<string>?, IReadOnlyList<string>?, RetrySettings?, TimeoutSettings?, CircuitBreakerSettings?, BulkheadSettings?, RateLimitingSettings?)

Section titled “ BehaviorExecutionResilienceOverrideSettings(string, IReadOnlyList<string>?, IReadOnlyList<string>?, RetrySettings?, TimeoutSettings?, CircuitBreakerSettings?, BulkheadSettings?, RateLimitingSettings?)”

Initializes a new instance of the class.

public BehaviorExecutionResilienceOverrideSettings(string id, IReadOnlyList<string>? behaviorIds = null, IReadOnlyList<string>? transportIds = null, RetrySettings? retry = null, TimeoutSettings? timeout = null, CircuitBreakerSettings? circuitBreaker = null, BulkheadSettings? bulkhead = null, RateLimitingSettings? rateLimiting = null)

id string

The stable override identifier.

behaviorIds IReadOnlyList<string>?

The targeted behavior identifiers.

transportIds IReadOnlyList<string>?

The targeted transport identifiers.

retry RetrySettings?

The retry override requested for the targeted surface.

timeout TimeoutSettings?

The timeout override requested for the targeted surface.

circuitBreaker CircuitBreakerSettings?

The circuit-breaker override requested for the targeted surface.

bulkhead BulkheadSettings?

The bulkhead override requested for the targeted surface.

rateLimiting RateLimitingSettings?

The rate-limiting override requested for the targeted surface.

Gets the targeted behavior identifiers.

public IReadOnlyList<string> BehaviorIds { get; }

IReadOnlyList<string>

Gets the bulkhead override requested for the targeted surface.

public BulkheadSettings Bulkhead { get; }

BulkheadSettings

Gets the circuit-breaker override requested for the targeted surface.

public CircuitBreakerSettings CircuitBreaker { get; }

CircuitBreakerSettings

Gets a value indicating whether any strategy-level override settings were explicitly supplied.

public bool HasStrategyValues { get; }

bool

Gets a value indicating whether any override settings were explicitly supplied.

public bool HasValues { get; }

bool

Gets the stable override identifier.

public string Id { get; }

string

Gets the rate-limiting override requested for the targeted surface.

public RateLimitingSettings RateLimiting { get; }

RateLimitingSettings

Gets the retry override requested for the targeted surface.

public RetrySettings Retry { get; }

RetrySettings

Gets the timeout override requested for the targeted surface.

public TimeoutSettings Timeout { get; }

TimeoutSettings

Gets the targeted transport identifiers.

public IReadOnlyList<string> TransportIds { get; }

IReadOnlyList<string>