RateLimitPartition<TKey> 構造体

定義

構成されているパーティションを把握するために 使用するメソッドによってGet<TKey>(TKey, Func<TKey,RateLimiter>)Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>)返される型。

public struct RateLimitPartition<TKey>
type RateLimitPartition<'Key> = struct
Public Structure RateLimitPartition(Of TKey)

型パラメーター

TKey

パーティションを区別する型。

継承
RateLimitPartition<TKey>

コンストラクター

RateLimitPartition<TKey>(TKey, Func<TKey,RateLimiter>)

Create<TResource,TPartitionKey>(Func<TResource,RateLimitPartition<TPartitionKey>>, IEqualityComparer<TPartitionKey>)使用する をRateLimitPartition<TKey>構築します。

プロパティ

Factory

指定された partitionKey のレートリミッターが必要な場合に呼び出される関数。

PartitionKey

このパーティションの特定のキー。

適用対象