System.Threading.RateLimiting
Namespace with 19 public types
Classes
ConcurrencyLimiter
implementation that helps manage concurrent access to a resource.
ConcurrencyLimiterOptions
Options to specify the behavior of a .
FixedWindowRateLimiter
implementation that refreshes allowed permits in a window periodically.
FixedWindowRateLimiterOptions
Options to specify the behavior of a .
MetadataName`1
A strongly-typed name of metadata that can be stored in a .
RateLimiterStatistics
Snapshot of statistics for a .
SlidingWindowRateLimiter
implementation that replenishes permit counters periodically instead of via a release mechanism.
SlidingWindowRateLimiterOptions
Options to specify the behavior of a .
TokenBucketRateLimiter
implementation that replenishes tokens periodically instead of via a release mechanism.
TokenBucketRateLimiterOptions
Options to control the behavior of a .
Structures
RateLimitPartition`1
Type returned by methods to be used by to know what partitions are configured.
Enumerations
QueueProcessingOrder
Controls the behavior of when not enough resources can be leased.
Static Classes
MetadataName
Contains some common metadata name-type pairs and helper method to create a metadata name.
PartitionedRateLimiter
Contains methods to assist with creating a .
RateLimitPartition
Contains methods used in to assist in the creation of partitions for your rate limiter.
Abstract Classes
PartitionedRateLimiter`1
Represents a limiter type that users interact with to determine if an operation can proceed given a specific .
RateLimiter
Represents a limiter type that users interact with to determine if an operation can proceed.
RateLimitLease
Abstraction for leases returned by implementations.
A lease represents the success or failure to acquire a resource and contains potential metadata that is relevant to the acquisition operation.
ReplenishingRateLimiter
Abstraction that specifies that the implementation is capable of replenishing tokens.