Sdílet prostřednictvím


AvailabilityStrategy Class

Definition

Types of availability strategies supported

public abstract class AvailabilityStrategy
type AvailabilityStrategy = class
Public MustInherit Class AvailabilityStrategy
Inheritance
AvailabilityStrategy

Methods

CrossRegionHedgingStrategy(TimeSpan, Nullable<TimeSpan>)

After a request's duration passes a threshold, this strategy will send out hedged request to other regions. The first hedge request will be sent after the threshold. After that, the strategy will send out a request every thresholdStep until the request is completed or regions are exausted

DisabledStrategy()

Used on a per request level to disable a client level AvailabilityStrategy

Applies to