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

Class BehaviorExecutionResilienceOverrideSelection

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

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

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

public sealed class BehaviorExecutionResilienceOverrideSelection

objectBehaviorExecutionResilienceOverrideSelection

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

BehaviorExecutionResilienceOverrideSelection(string, IReadOnlyList<string>?, IReadOnlyList<string>?, RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?)

Section titled “ BehaviorExecutionResilienceOverrideSelection(string, IReadOnlyList<string>?, IReadOnlyList<string>?, RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?)”

Initializes a new instance of the class.

[JsonConstructor]
public BehaviorExecutionResilienceOverrideSelection(string id, IReadOnlyList<string>? behaviorIds = null, IReadOnlyList<string>? transportIds = null, RetrySelection? retry = null, TimeoutSelection? timeout = null, CircuitBreakerSelection? circuitBreaker = null, BulkheadSelection? bulkhead = null, RateLimitingSelection? rateLimiting = null)

id string

The stable override identifier.

behaviorIds IReadOnlyList<string>?

The targeted behavior identifiers.

transportIds IReadOnlyList<string>?

The targeted transport identifiers.

retry RetrySelection?

The retry override requested for the targeted surface.

timeout TimeoutSelection?

The timeout override requested for the targeted surface.

circuitBreaker CircuitBreakerSelection?

The circuit-breaker override requested for the targeted surface.

bulkhead BulkheadSelection?

The bulkhead override requested for the targeted surface.

rateLimiting RateLimitingSelection?

The rate-limiting override requested for the targeted surface.

Gets the behavior identifiers targeted by this override.

public IReadOnlyList<string> BehaviorIds { get; }

IReadOnlyList<string>

Gets the bulkhead override requested for the targeted surface.

public BulkheadSelection Bulkhead { get; }

BulkheadSelection

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

public CircuitBreakerSelection CircuitBreaker { get; }

CircuitBreakerSelection

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

public bool HasStrategyValues { get; }

bool

Gets a value indicating whether any override values 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 RateLimitingSelection RateLimiting { get; }

RateLimitingSelection

Gets the retry override requested for the targeted surface.

public RetrySelection Retry { get; }

RetrySelection

Gets the timeout override requested for the targeted surface.

public TimeoutSelection Timeout { get; }

TimeoutSelection

Gets the transport identifiers targeted by this override.

public IReadOnlyList<string> TransportIds { get; }

IReadOnlyList<string>