RateLimitPartition 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public static class RateLimitPartition
type RateLimitPartition = class
Public Class RateLimitPartition
- 繼承
-
RateLimitPartition
方法
Get<TKey>(TKey, Func<TKey,RateLimiter>) |
使用指定的速率限制器處理站定義資料分割。 |
GetConcurrencyLimiter<TKey>(TKey, Func<TKey,ConcurrencyLimiterOptions>) |
使用 ConcurrencyLimiter 指定的 ConcurrencyLimiterOptions 定義具有 的資料分割。 |
GetFixedWindowLimiter<TKey>(TKey, Func<TKey,FixedWindowRateLimiterOptions>) |
使用 FixedWindowRateLimiter 指定的 FixedWindowRateLimiterOptions 定義具有 的資料分割。 |
GetNoLimiter<TKey>(TKey) |
定義沒有速率限制子的資料分割。
這表示對 指定 AcquireAsync(TResource, Int32, CancellationToken) |
GetSlidingWindowLimiter<TKey>(TKey, Func<TKey,SlidingWindowRateLimiterOptions>) |
使用 SlidingWindowRateLimiter 指定的 SlidingWindowRateLimiterOptions 定義具有 的資料分割。 |
GetTokenBucketLimiter<TKey>(TKey, Func<TKey,TokenBucketRateLimiterOptions>) |
使用 TokenBucketRateLimiter 指定的 TokenBucketRateLimiterOptions 定義具有 的資料分割。 |