Class ResilienceSelection
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the resilience-policy inputs resolved for a Cephalon app.
public sealed class ResilienceSelectionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ResilienceSelection(RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?, IReadOnlyList<BehaviorExecutionResilienceOverrideSelection>?)
Section titled “ ResilienceSelection(RetrySelection?, TimeoutSelection?, CircuitBreakerSelection?, BulkheadSelection?, RateLimitingSelection?, IReadOnlyList<BehaviorExecutionResilienceOverrideSelection>?)”Initializes a new instance of the
[JsonConstructor]public ResilienceSelection(RetrySelection? retry = null, TimeoutSelection? timeout = null, CircuitBreakerSelection? circuitBreaker = null, BulkheadSelection? bulkhead = null, RateLimitingSelection? rateLimiting = null, IReadOnlyList<BehaviorExecutionResilienceOverrideSelection>? behaviorExecutionOverrides = null)Parameters
Section titled “Parameters”retry RetrySelection?
The retry policy resolved for the app.
timeout TimeoutSelection?
The timeout policy resolved for the app.
circuitBreaker CircuitBreakerSelection?
The circuit-breaker policy resolved for the app.
bulkhead BulkheadSelection?
The bulkhead policy resolved for the app.
rateLimiting RateLimitingSelection?
The rate-limiting policy resolved for the app.
behaviorExecutionOverrides IReadOnlyList<BehaviorExecutionResilienceOverrideSelection>?
The named behavior-execution override policies targeted at specific behaviors or transports.
Properties
Section titled “Properties”BehaviorExecutionOverrides
Section titled “ BehaviorExecutionOverrides”Gets the named behavior-execution override policies targeted at specific behaviors or transports.
public IReadOnlyList<BehaviorExecutionResilienceOverrideSelection> BehaviorExecutionOverrides { get; }Property Value
Section titled “Property Value”IReadOnlyList<BehaviorExecutionResilienceOverrideSelection>
Bulkhead
Section titled “ Bulkhead”Gets the bulkhead policy resolved for the app.
public BulkheadSelection Bulkhead { get; }Property Value
Section titled “Property Value”CircuitBreaker
Section titled “ CircuitBreaker”Gets the circuit-breaker policy resolved for the app.
public CircuitBreakerSelection CircuitBreaker { get; }Property Value
Section titled “Property Value”Gets an empty resilience-selection instance.
public static ResilienceSelection Empty { get; }Property Value
Section titled “Property Value”HasValues
Section titled “ HasValues”Gets a value indicating whether any resilience-selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”RateLimiting
Section titled “ RateLimiting”Gets the rate-limiting policy resolved for the app.
public RateLimitingSelection RateLimiting { get; }Property Value
Section titled “Property Value”Gets the retry policy resolved for the app.
public RetrySelection Retry { get; }Property Value
Section titled “Property Value”Timeout
Section titled “ Timeout”Gets the timeout policy resolved for the app.
public TimeoutSelection Timeout { get; }